Property | Type | Description | |
---|---|---|---|
SourceRectangle | |||
Texture | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
Draw ( |
||
Update ( |
public BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
image | Microsoft.Xna.Framework.Graphics.Texture2D | |
sourceRectangle | ||
return | System |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
position | Vector2 | |
return | void |
public Update ( |
||
gameTime | ||
return | void |
protected Rectangle,Microsoft.Xna.Framework SourceRectangle | ||
return |