C# Class manlyMiniGames.Player

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

Méthodes publiques

Méthode Description
Draw ( SpriteBatch theSpriteBatch, Map map ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
Update ( GameTime theGameTime, Map map ) : void

Private Methods

Méthode Description
UpdateMovement ( KeyboardState currentKeyboardState ) : void
UpdateRocket ( GameTime theGameTime, KeyboardState theCurrentKeyboardState, Map map ) : void
shootRocket ( Map map ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch theSpriteBatch, Map map ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
map Map
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 theGameTime, Map map ) : void
theGameTime Microsoft.Xna.Framework.GameTime
map Map
Résultat void