C# 클래스 ManicDigger.Renderers.CharacterRendererMonsterCode

상속: ICharacterRenderer
파일 보기 프로젝트 열기: henon/manic_digger 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentanim int

공개 메소드들

메소드 설명
Animations ( ) : string[]
CuboidNet ( float tsizex, float tsizey, float tsizez, float tstartx, float tstarty ) : System.Drawing.RectangleF[]
CuboidNetNormalize ( RectangleF coords, float texturewidth, float textureheight ) : void
DrawCharacter ( AnimationState animstate, Vector3 pos, byte heading, byte pitch, bool moves, float dt, int playertexture, AnimationHint animationhint ) : void
DrawCuboid ( Vector3 pos, Vector3 size, int textureid, RectangleF texturecoords ) : void
Load ( List code ) : void
Normalize ( float p, float period ) : float
SetAnimation ( string p ) : void

비공개 메소드들

메소드 설명
LeftLegRotation ( float time, float period ) : float
ParseDouble ( string s ) : double
RightLegRotation ( float time, float period ) : float
TriWave ( double t ) : float
UpDown ( float time, float period ) : float
getval ( object ss2, object>.Dictionary variables ) : double

메소드 상세

Animations() 공개 메소드

public Animations ( ) : string[]
리턴 string[]

CuboidNet() 공개 메소드

public CuboidNet ( float tsizex, float tsizey, float tsizez, float tstartx, float tstarty ) : System.Drawing.RectangleF[]
tsizex float
tsizey float
tsizez float
tstartx float
tstarty float
리턴 System.Drawing.RectangleF[]

CuboidNetNormalize() 공개 정적인 메소드

public static CuboidNetNormalize ( RectangleF coords, float texturewidth, float textureheight ) : void
coords System.Drawing.RectangleF
texturewidth float
textureheight float
리턴 void

DrawCharacter() 공개 메소드

public DrawCharacter ( AnimationState animstate, Vector3 pos, byte heading, byte pitch, bool moves, float dt, int playertexture, AnimationHint animationhint ) : void
animstate AnimationState
pos Vector3
heading byte
pitch byte
moves bool
dt float
playertexture int
animationhint AnimationHint
리턴 void

DrawCuboid() 공개 메소드

public DrawCuboid ( Vector3 pos, Vector3 size, int textureid, RectangleF texturecoords ) : void
pos Vector3
size Vector3
textureid int
texturecoords System.Drawing.RectangleF
리턴 void

Load() 공개 메소드

public Load ( List code ) : void
code List
리턴 void

Normalize() 공개 정적인 메소드

public static Normalize ( float p, float period ) : float
p float
period float
리턴 float

SetAnimation() 공개 메소드

public SetAnimation ( string p ) : void
p string
리턴 void

프로퍼티 상세

currentanim 공개적으로 프로퍼티

public int currentanim
리턴 int