Property | Type | Description | |
---|---|---|---|
Size | Vector2 | ||
Texture | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
Draw ( |
||
Update ( double deltaTime ) : void |
public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
player | ||
frames | int | |
scale | float | |
return | System |
public Draw ( |
||
spriteBatch | ||
return | void |