메소드 | 설명 | |
---|---|---|
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
Draw ( |
||
Update ( |
메소드 | 설명 | |
---|---|---|
GetSourceRect ( ) : |
public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
spriteSheet | ||
animatedSpeed | System.TimeSpan | |
times | int | |
리턴 | System |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
리턴 | void |
public Update ( |
||
gameTime | ||
리턴 | void |