C# 클래스 Bug.Utils.AnimatedTexture2D

파일 보기 프로젝트 열기: Projectfights/Fight-insect 1 사용 예제들

공개 메소드들

메소드 설명
AnimatedTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_, int w_, int h_, int row_, int col_, int fps_ ) : Microsoft.Xna.Framework
GetHeight ( ) : int
GetSheet ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetWidth ( ) : int
GetWindow ( ) : Rectangle
Reset ( ) : void
SetFPS ( int fps ) : void
SetSheet ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_ ) : void
UpdateTime ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
GetFps ( ) : double
GetNumFrames ( ) : double

메소드 상세

AnimatedTexture2D() 공개 메소드

public AnimatedTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_, int w_, int h_, int row_, int col_, int fps_ ) : Microsoft.Xna.Framework
sheet_ Microsoft.Xna.Framework.Graphics.Texture2D
w_ int
h_ int
row_ int
col_ int
fps_ int
리턴 Microsoft.Xna.Framework

GetHeight() 공개 메소드

public GetHeight ( ) : int
리턴 int

GetSheet() 공개 메소드

public GetSheet ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

GetWidth() 공개 메소드

public GetWidth ( ) : int
리턴 int

GetWindow() 공개 메소드

public GetWindow ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetFPS() 공개 메소드

public SetFPS ( int fps ) : void
fps int
리턴 void

SetSheet() 공개 메소드

public SetSheet ( Microsoft.Xna.Framework.Graphics.Texture2D sheet_ ) : void
sheet_ Microsoft.Xna.Framework.Graphics.Texture2D
리턴 void

UpdateTime() 공개 메소드

public UpdateTime ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void