Property | Type | Description | |
---|---|---|---|
Texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
drawWidth | int | ||
frameHeight | int | ||
frameWidth | int | ||
frames | List |
||
looping | bool |
Method | Description | |
---|---|---|
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
Draw ( |
||
Update ( |
Method | Description | |
---|---|---|
AddFrame ( |
public Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
initialFrame | ||
totalNumberOfFrames | int | |
_scale | float | |
rows | int | |
collums | int | |
return | System |
public Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
initialFrame | ||
totalNumberOfFrames | int | |
_scale | float | |
rows | int | |
collums | int | |
start | int | |
stop | int | |
return | System |
public Draw ( |
||
spriteBatch | ||
position | Vector2 | |
rotation | float | |
flip | bool | |
return | void |
public Update ( |
||
gameTime | ||
return | void |
public Texture2D,Microsoft.Xna.Framework.Graphics Texture | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |