C# Class manlyMiniGames.Rocket

Inheritance: Sprite
Show file Open project: degrand1/Manly-Mini-Games Class Usage Examples

Public Properties

Property Type Description
FRAME_HEIGHT int
FRAME_WIDTH int
visible bool

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, Map map ) : void
Fire ( Vector2 theStartPosition, Vector2 theSpeed, Vector2 theDirection ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
explodeRocket ( GameTime gameTime ) : void

Method Details

Draw() public method

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

Fire() public method

public Fire ( Vector2 theStartPosition, Vector2 theSpeed, Vector2 theDirection ) : void
theStartPosition Vector2
theSpeed Vector2
theDirection Vector2
return void

LoadContent() public method

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

Update() public method

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

Property Details

FRAME_HEIGHT public static property

public static int FRAME_HEIGHT
return int

FRAME_WIDTH public static property

public static int FRAME_WIDTH
return int

visible public property

public bool visible
return bool