C# 클래스 MonoGameQuest.Player

상속: MonoGameQuestComponent
파일 보기 프로젝트 열기: half-ogre/MonoGameQuest 1 사용 예제들

공개 메소드들

메소드 설명
Initialize ( ) : void
Move ( Direction direction ) : void
Move ( Vector2 destination ) : void
Player ( MonoGameQuest game ) : System
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
CaclulateMovementDirection ( Vector2 origin, Vector2 destination ) : Direction

메소드 상세

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Move() 공개 메소드

public Move ( Direction direction ) : void
direction Direction
리턴 void

Move() 공개 메소드

public Move ( Vector2 destination ) : void
destination Vector2
리턴 void

Player() 공개 메소드

public Player ( MonoGameQuest game ) : System
game MonoGameQuest
리턴 System

Update() 공개 메소드

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