C# Class ProjectCow.ExplosionParticle

Particles of an explosion
Inheritance: GameObject
Exibir arquivo Open project: csce3513/Team12

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
ExplosionParticle ( Vector2 position, Vector2 speed, int life, GameObjectsManager manager ) : System
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

ExplosionParticle() public method

public ExplosionParticle ( Vector2 position, Vector2 speed, int life, GameObjectsManager manager ) : System
position Vector2
speed Vector2
life int
manager GameObjectsManager
return System

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

Update() public method

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