C# Class manlyMiniGames.Rocket

Inheritance: Sprite
Afficher le fichier Open project: degrand1/Manly-Mini-Games Class Usage Examples

Méthodes publiques

Свойство Type Description
FRAME_HEIGHT int
FRAME_WIDTH int
visible bool

Méthodes publiques

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

Méthode Description
explodeRocket ( GameTime gameTime ) : void

Method Details

Draw() public méthode

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

Fire() public méthode

public Fire ( Vector2 theStartPosition, Vector2 theSpeed, Vector2 theDirection ) : void
theStartPosition Vector2
theSpeed Vector2
theDirection Vector2
Résultat void

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

FRAME_HEIGHT public_oe static_oe property

public static int FRAME_HEIGHT
Résultat int

FRAME_WIDTH public_oe static_oe property

public static int FRAME_WIDTH
Résultat int

visible public_oe property

public bool visible
Résultat bool