프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AssetName | string | ||
Size | |||
falling | bool | ||
framesPerSec | int | ||
list | List |
||
mSpriteBody | |||
spriteOrigin | Vector2 | ||
spriteSourceHeight | int | ||
spriteSourceWidth | int | ||
totalFrames | int |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
mSpriteBodyTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
mSpriteSheetTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
mSpriteTexture | Microsoft.Xna.Framework.Graphics.Texture2D |
메소드 | 설명 | |
---|---|---|
Draw ( |
||
Draw ( |
||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void | ||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string bodyAssetName, string spriteSheetAssetName ) : void | ||
Sprite ( ) : System | ||
Sprite ( Vector2 position, float rotation ) : System | ||
playAnimation ( GameTime gameTime, bool loop ) : void | ||
setAnimationOrigin ( int x, int y ) : void | ||
setFramesPerSec ( int fps ) : void | ||
setSpriteDrawn ( int x, int y ) : void | ||
setSpriteSourceHeightAndWidth ( int height, int width ) : void | ||
setTotalFrames ( int totalFrames ) : void |
public Draw ( |
||
theSpriteBatch | ||
리턴 | void |
public Draw ( |
||
theSpriteBatch | ||
debugView | FarseerPhysics.DebugViewXNA | |
projection | Matrix | |
view | Matrix | |
리턴 | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void | ||
theContentManager | Microsoft.Xna.Framework.Content.ContentManager | |
theAssetName | string | |
리턴 | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string bodyAssetName, string spriteSheetAssetName ) : void | ||
theContentManager | Microsoft.Xna.Framework.Content.ContentManager | |
bodyAssetName | string | |
spriteSheetAssetName | string | |
리턴 | void |
public Sprite ( Vector2 position, float rotation ) : System | ||
position | Vector2 | |
rotation | float | |
리턴 | System |
public playAnimation ( GameTime gameTime, bool loop ) : void | ||
gameTime | GameTime | |
loop | bool | |
리턴 | void |
public setSpriteSourceHeightAndWidth ( int height, int width ) : void | ||
height | int | |
width | int | |
리턴 | void |
public Body,FarseerPhysics.Dynamics mSpriteBody | ||
리턴 |
protected Texture2D,Microsoft.Xna.Framework.Graphics mSpriteBodyTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Texture2D,Microsoft.Xna.Framework.Graphics mSpriteSheetTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Texture2D,Microsoft.Xna.Framework.Graphics mSpriteTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |