C# Class GameEntities.Item

Items which can be picked up by units. Med-kits, weapons, ammunition.
Inheritance: Dynamic
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD

Méthodes publiques

Méthode Description
Item ( ) : System
Take ( Unit unit ) : bool

Méthodes protégées

Méthode Description
Client_OnTick ( ) : void
OnCreate ( ) : void
OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnPreCreate ( ) : void
OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
OnTake ( Unit unit ) : bool
OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Méthode Description
Client_ReceiveSoundPlayTake ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveUpdatePosition ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendPositionToAllClients ( ) : void
Server_SendPositionToNewClient ( RemoteEntityWorld remoteEntityWorld ) : void
Server_SendSoundPlayTakeToAllClients ( ) : void
UpdateRotation ( ) : void

Method Details

Client_OnTick() protected méthode

protected Client_OnTick ( ) : void
Résultat void

Item() public méthode

public Item ( ) : System
Résultat System

OnCreate() protected méthode

protected OnCreate ( ) : void
Résultat void

OnPostCreate() protected méthode

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
Résultat void

OnPreCreate() protected méthode

protected OnPreCreate ( ) : void
Résultat void

OnSetTransform() protected méthode

protected OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
pos Vec3
rot Quat
scl Vec3
Résultat void

OnTake() protected méthode

protected OnTake ( Unit unit ) : bool
unit Unit
Résultat bool

OnTick() protected méthode

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
Résultat void

Server_OnClientConnectedBeforePostCreate() protected méthode

protected Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
Résultat void

Take() public méthode

public Take ( Unit unit ) : bool
unit Unit
Résultat bool