C# Class Danmaku_no_Kyojin.Entities.Player

Inheritance: BulletLauncherEntity
显示文件 Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Methods

Method Description
AddScore ( int value ) : void
Draw ( GameTime gameTime ) : void
DrawString ( GameTime gameTime ) : void
Hit ( ) : void
Initialize ( ) : void
Player ( DnK gameRef, Viewport viewport, int id, Config controller, Vector2 position ) : System
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
LoadContent ( ) : void

Private Methods

Method Description
Fire ( GameTime gameTime ) : void
FireParticles ( GameTime gameTime ) : void
UpdatePosition ( float dt ) : void

Method Details

AddScore() public method

public AddScore ( int value ) : void
value int
return void

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

DrawString() public method

public DrawString ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Hit() public method

public Hit ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

Player() public method

public Player ( DnK gameRef, Viewport viewport, int id, Config controller, Vector2 position ) : System
gameRef DnK
viewport Microsoft.Xna.Framework.Graphics.Viewport
id int
controller Config
position Vector2
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void