C# 클래스 Ballz.GameSession.Logic.WeaponControl

파일 보기 프로젝트 열기: SpagAachen/Ballz 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

FireShot() 공개 메소드

public FireShot ( ) : void
리턴 void

HandleInput() 공개 메소드

public HandleInput ( InputMessage input ) : void
input Ballz.Messages.InputMessage
리턴 void

OnTurnEnd() 공개 메소드

public OnTurnEnd ( ) : void
리턴 void

OnTurnStart() 공개 메소드

public OnTurnStart ( ) : void
리턴 void

Update() 공개 메소드

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
리턴 void

WeaponControl() 공개 메소드

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