C# Class DeepSpace.Components.Gameplay.GameplayBehavior

Inheritance: Behavior
Mostrar archivo Open project: WaveEngine/QuickStarters Class Usage Examples

Private Properties

Property Type Description
CreateExplosion System.Entity
GameOver void
Scored void

Public Methods

Method Description
Explode ( Transform2D transform ) : void
GameplayBehavior ( ) : System
Reset ( ) : void
ShootBullet ( bool player, float initX, float initY, float velocityX, float velocityY ) : void

Protected Methods

Method Description
DefaultValues ( ) : void
Initialize ( ) : void
ResolveDependencies ( ) : void
Update ( System.TimeSpan gameTime ) : void

Private Methods

Method Description
CreateExplosion ( ) : System.Entity
GameOver ( ) : void
Scored ( int value ) : void

Method Details

DefaultValues() protected method

protected DefaultValues ( ) : void
return void

Explode() public method

public Explode ( Transform2D transform ) : void
transform Transform2D
return void

GameplayBehavior() public method

public GameplayBehavior ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

ResolveDependencies() protected method

protected ResolveDependencies ( ) : void
return void

ShootBullet() public method

public ShootBullet ( bool player, float initX, float initY, float velocityX, float velocityY ) : void
player bool
initX float
initY float
velocityX float
velocityY float
return void

Update() protected method

protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan
return void