Méthode | Description | |
---|---|---|
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
Draw ( |
||
Update ( |
Méthode | Description | |
---|---|---|
GetSourceRect ( ) : |
public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
spriteSheet | ||
animatedSpeed | System.TimeSpan | |
times | int | |
Résultat | System |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Résultat | void |
public Update ( |
||
gameTime | ||
Résultat | void |