Property | Type | Description | |
---|---|---|---|
frame | int | ||
frame_count | int | ||
origin | Vector2 | ||
paused | bool | ||
time_per_frame | float | ||
total_elapsed | float |
Method | Description | |
---|---|---|
Animation ( Object texture, Vector2 origin, int frame_count, int frames_per_sec ) : System | ||
Animation ( Object texture, int x, int y, Color color, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System | ||
Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec ) : System | ||
Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale ) : System | ||
Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System | ||
Pause ( ) : void | ||
Play ( ) : void | ||
Reset ( ) : void | ||
Stop ( ) : void |
Method | Description | |
---|---|---|
onDraw ( |
||
onLoad ( Microsoft.Xna.Framework.Game game ) : void | ||
onUpdate ( |
public Animation ( Object texture, Vector2 origin, int frame_count, int frames_per_sec ) : System | ||
texture | Object | |
origin | Vector2 | |
frame_count | int | |
frames_per_sec | int | |
return | System |
public Animation ( Object texture, int x, int y, Color color, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System | ||
texture | Object | |
x | int | |
y | int | |
color | Color | |
origin | Vector2 | |
frame_count | int | |
frames_per_sec | int | |
scale | float | |
rotation | float | |
return | System |
public Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec ) : System | ||
texture | Object | |
x | int | |
y | int | |
origin | Vector2 | |
frame_count | int | |
frames_per_sec | int | |
return | System |
public Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale ) : System | ||
texture | Object | |
x | int | |
y | int | |
origin | Vector2 | |
frame_count | int | |
frames_per_sec | int | |
scale | float | |
return | System |
public Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System | ||
texture | Object | |
x | int | |
y | int | |
origin | Vector2 | |
frame_count | int | |
frames_per_sec | int | |
scale | float | |
rotation | float | |
return | System |
protected onDraw ( |
||
spriteBatch | ||
return | void |
protected onLoad ( Microsoft.Xna.Framework.Game game ) : void | ||
game | Microsoft.Xna.Framework.Game | |
return | void |
protected onUpdate ( |
||
gameTime | ||
return | void |