Property | Type | Description | |
---|---|---|---|
AnimationFrame | int | ||
FrameDelay | int | ||
Priority | int | ||
SpriteEff | SpriteEffects | ||
SpriteSheet | Microsoft.Xna.Framework.Graphics.Texture2D | ||
SpritesPerSheet | int | ||
bIsFinished | bool | ||
bShouldLoop | bool |
Method | Description | |
---|---|---|
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D spriteSheet, int numSprites, int frameDelay, int priority, bool bLoop, SpriteEffects eff ) : System | ||
Draw ( |
public Animation ( Microsoft.Xna.Framework.Graphics.Texture2D spriteSheet, int numSprites, int frameDelay, int priority, bool bLoop, SpriteEffects eff ) : System | ||
spriteSheet | Microsoft.Xna.Framework.Graphics.Texture2D | |
numSprites | int | |
frameDelay | int | |
priority | int | |
bLoop | bool | |
eff | SpriteEffects | |
return | System |
public Draw ( |
||
spriteBatch | ||
position | Vector2 | |
scale | Vector2 | |
tint | Color | |
rot | float | |
orig | Vector2 | |
layer | float | |
return | void |
public Texture2D,Microsoft.Xna.Framework.Graphics SpriteSheet | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |