C# Class GameEntities.MeleeWeapon

Inheritance: Weapon
Mostra file Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
Client_ReceiveFireEvent void
Client_ReceiveSoundPlayKick void
OnFire void
Server_SendFireEventToAllClients void
Server_SendSoundPlayKickToAllClients void

Public Methods

Method Description
GetFirePosition ( bool alternative ) : Vec3
GetFireRotation ( bool alternative ) : Quat
TryFire ( bool alternative ) : bool

Protected Methods

Method Description
Blow ( ) : void
Fire ( bool alternative ) : void
OnLoad ( TextBlock block ) : bool
OnPostCreate ( bool loaded ) : void

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

OnSave ( TextBlock block ) : void
OnTick ( ) : void

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

Private Methods

Method Description
Client_ReceiveFireEvent ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveSoundPlayKick ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
OnFire ( MeleeWeaponType typeMode ) : void
Server_SendFireEventToAllClients ( bool alternative ) : void
Server_SendSoundPlayKickToAllClients ( bool alternative ) : void

Method Details

Blow() protected method

protected Blow ( ) : void
return void

Fire() protected method

protected Fire ( bool alternative ) : void
alternative bool
return void

GetFirePosition() public method

public GetFirePosition ( bool alternative ) : Vec3
alternative bool
return Vec3

GetFireRotation() public method

public GetFireRotation ( bool alternative ) : Quat
alternative bool
return Quat

OnLoad() protected method

protected OnLoad ( TextBlock block ) : bool
block TextBlock
return bool

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnSave() protected method

protected OnSave ( TextBlock block ) : void
block TextBlock
return void

OnTick() protected method

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
return void

TryFire() public method

public TryFire ( bool alternative ) : bool
alternative bool
return bool