C# Class XPlane.Core.Entities.Explosion

Inheritance: Sharpex2D.Entities.Entity
Mostra file Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the Player.

Explosion ( Texture2D explosionTexture ) : Sharpex2D

Initializes a new Explosion class.

Update ( GameTime gameTime ) : void

Updates the Player.

Method Details

Draw() public method

Draws the Player.
public Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Sharpex2D.Rendering.SpriteBatch The spriteBatch.
gameTime Sharpex2D.GameTime The GameTime.
return void

Explosion() public method

Initializes a new Explosion class.
public Explosion ( Texture2D explosionTexture ) : Sharpex2D
explosionTexture Sharpex2D.Rendering.Texture2D The ExplosionTexture.
return Sharpex2D

Update() public method

Updates the Player.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
return void