프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |