C# Class manlyMiniGames.Sprite

Afficher le fichier Open project: degrand1/Manly-Mini-Games

Méthodes publiques

Свойство Type Description
mPosition Vector2
source Microsoft.Xna.Framework.Rectangle

Méthodes publiques

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

public Draw ( SpriteBatch theSpriteBatch ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

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

Update() public méthode

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

Property Details

mPosition public_oe property

public Vector2 mPosition
Résultat Vector2

source public_oe property

public Rectangle,Microsoft.Xna.Framework source
Résultat Microsoft.Xna.Framework.Rectangle