C# Class XPlane.Core.Entities.Explosion

Inheritance: Sharpex2D.Entities.Entity
Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Explosion() public méthode

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

Update() public méthode

Updates the Player.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
Résultat void