C# Class manlyMiniGames.Sprite

Show file Open project: degrand1/Manly-Mini-Games

Public Properties

Property Type Description
mPosition Vector2
source Microsoft.Xna.Framework.Rectangle

Public Methods

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

Method Details

Draw() public method

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

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, string theAssetName ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
theAssetName string
return void

Update() public method

public Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void
theGameTime Microsoft.Xna.Framework.GameTime
theSpeed Vector2
theDirection Vector2
return void

Property Details

mPosition public property

public Vector2 mPosition
return Vector2

source public property

public Rectangle,Microsoft.Xna.Framework source
return Microsoft.Xna.Framework.Rectangle