C# 클래스 Tyrus_and_Randall.Player

상속: Entity, InputHandler
파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentLevel uint

공개 메소드들

메소드 설명
CollisionChange ( ) : void
DumpFood ( ) : void
HandleInput ( SGDE game, InputComponent input ) : void
Player ( ) : System
Player ( Vector2 position ) : System
Player ( float x, float y ) : System
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
GetIntersectionRectangle ( CollisionUnit A, CollisionUnit B ) : Vector2
SetUpCollision ( ) : void

비공개 메소드들

메소드 설명
CameraBound ( ) : Vector2

메소드 상세

CollisionChange() 공개 메소드

public CollisionChange ( ) : void
리턴 void

DumpFood() 공개 메소드

public DumpFood ( ) : void
리턴 void

GetIntersectionRectangle() 보호된 정적인 메소드

protected static GetIntersectionRectangle ( CollisionUnit A, CollisionUnit B ) : Vector2
A SGDE.Physics.Collision.CollisionUnit
B SGDE.Physics.Collision.CollisionUnit
리턴 Vector2

HandleInput() 공개 메소드

public HandleInput ( SGDE game, InputComponent input ) : void
game SGDE
input InputComponent
리턴 void

Player() 공개 메소드

public Player ( ) : System
리턴 System

Player() 공개 메소드

public Player ( Vector2 position ) : System
position Vector2
리턴 System

Player() 공개 메소드

public Player ( float x, float y ) : System
x float
y float
리턴 System

SetUpCollision() 보호된 메소드

protected SetUpCollision ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

currentLevel 공개적으로 프로퍼티

public uint currentLevel
리턴 uint