Method | Description | |
---|---|---|
AnimatedTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_, int w_, int h_, int row_, int col_, int fps_ ) : Microsoft.Xna.Framework | ||
GetHeight ( ) : int | ||
GetSheet ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetWidth ( ) : int | ||
GetWindow ( ) : |
||
Reset ( ) : void | ||
SetFPS ( int fps ) : void | ||
SetSheet ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_ ) : void | ||
UpdateTime ( |
Method | Description | |
---|---|---|
GetFps ( ) : double | ||
GetNumFrames ( ) : double |
public AnimatedTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_, int w_, int h_, int row_, int col_, int fps_ ) : Microsoft.Xna.Framework | ||
sheet_ | Microsoft.Xna.Framework.Graphics.Texture2D | |
w_ | int | |
h_ | int | |
row_ | int | |
col_ | int | |
fps_ | int | |
return | Microsoft.Xna.Framework |
public GetSheet ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public SetSheet ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_ ) : void | ||
sheet_ | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | void |
public UpdateTime ( |
||
gameTime | ||
return | void |