Свойство | Тип | Описание | |
---|---|---|---|
Texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
drawWidth | int | ||
frameHeight | int | ||
frameWidth | int | ||
frames | List |
||
looping | bool |
Метод | Описание | |
---|---|---|
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
Draw ( |
||
Update ( |
Метод | Описание | |
---|---|---|
AddFrame ( |
public Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
initialFrame | ||
totalNumberOfFrames | int | |
_scale | float | |
rows | int | |
collums | int | |
Результат | 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 | |
Результат | System |
public Draw ( |
||
spriteBatch | ||
position | Vector2 | |
rotation | float | |
flip | bool | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |
public Texture2D,Microsoft.Xna.Framework.Graphics Texture | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |