C# Class manlyMiniGames.Player

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

Public Methods

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

Private Methods

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

Method Details

Draw() public method

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