C# Class Ballz.GameSession.Logic.WeaponControl

Datei anzeigen Open project: SpagAachen/Ballz Class Usage Examples

Public Methods

Method Description
FireShot ( ) : void
HandleInput ( InputMessage input ) : void
OnTurnEnd ( ) : void
OnTurnStart ( ) : void
Update ( float elapsedSeconds, bool>.Dictionary keysPressed, bool &turnEndindActionHappened, bool &canSwitchWeapon ) : void

Updates the weapon state and performs weapon actions.

WeaponControl ( Ball ball, Ballz game ) : System

Method Details

FireShot() public method

public FireShot ( ) : void
return void

HandleInput() public method

public HandleInput ( InputMessage input ) : void
input Ballz.Messages.InputMessage
return void

OnTurnEnd() public method

public OnTurnEnd ( ) : void
return void

OnTurnStart() public method

public OnTurnStart ( ) : void
return void

Update() public method

Updates the weapon state and performs weapon actions.
public Update ( float elapsedSeconds, bool>.Dictionary keysPressed, bool &turnEndindActionHappened, bool &canSwitchWeapon ) : void
elapsedSeconds float
keysPressed bool>.Dictionary
turnEndindActionHappened bool
canSwitchWeapon bool
return void

WeaponControl() public method

public WeaponControl ( Ball ball, Ballz game ) : System
ball Ballz.GameSession.World.Ball
game Ballz
return System