Property | Type | Description | |
---|---|---|---|
position | Vector2 | ||
sourceRectangle | |||
speed | float | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
velocity | Vector2 |
Method | Description | |
---|---|---|
BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
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 BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, |
||
image | Microsoft.Xna.Framework.Graphics.Texture2D | |
sourceRectangle | ||
position | Vector2 | |
return | System |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
return | void |
public Update ( |
||
gameTime | ||
return | void |
protected Rectangle,Microsoft.Xna.Framework sourceRectangle | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics texture | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |