Property | Type | Description | |
---|---|---|---|
assetName | string | ||
sourceRect | Rectangle | ||
timer | float |
Property | Type | Description | |
---|---|---|---|
mPos | Vector2 | ||
tex | Texture2D |
Method | Description | |
---|---|---|
Draw ( |
||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void | ||
Sprite ( ) : System | ||
Sprite ( int ID ) : System | ||
Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void | ||
getPos ( ) : Vector2 | ||
getTex ( ) : Texture2D | ||
updatePos ( Vector2 newPos ) : void |
Method | Description | |
---|---|---|
Update ( GameTime gameTime ) : void |
public Draw ( |
||
theSpriteBatch | ||
return | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void | ||
theContentManager | Microsoft.Xna.Framework.Content.ContentManager | |
theAssetName | string | |
return | void |
public Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void | ||
theGameTime | GameTime | |
theSpeed | Vector2 | |
theDirection | Vector2 | |
return | void |