C# 클래스 Californium.State

파일 보기 프로젝트 열기: DatZach/HumanityAgainstCards 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Camera Camera
Entities EntityManager
Map TileMap

공개 메소드들

메소드 설명
Draw ( RenderTarget rt ) : void

Called once per frame, right after Update. Avoid putting game login in here.

Enter ( ) : void

Called when a State is added to the game. InitializeCamera is called here by default.

InitializeCamera ( ) : void

Called when the State's Camera needs to be (re)initialized.

Leave ( ) : void

Called when a State is removed from the game.

ProcessEvent ( InputArgs args ) : bool
Update ( ) : void

Update is called once every Timestep. Game logic should be handled here (movement, animations, etc).

보호된 메소드들

메소드 설명
State ( ) : System

비공개 메소드들

메소드 설명
UpdateInternal ( ) : void

메소드 상세

Draw() 공개 메소드

Called once per frame, right after Update. Avoid putting game login in here.
public Draw ( RenderTarget rt ) : void
rt RenderTarget
리턴 void

Enter() 공개 메소드

Called when a State is added to the game. InitializeCamera is called here by default.
public Enter ( ) : void
리턴 void

InitializeCamera() 공개 메소드

Called when the State's Camera needs to be (re)initialized.
public InitializeCamera ( ) : void
리턴 void

Leave() 공개 메소드

Called when a State is removed from the game.
public Leave ( ) : void
리턴 void

ProcessEvent() 공개 메소드

public ProcessEvent ( InputArgs args ) : bool
args InputArgs
리턴 bool

State() 보호된 메소드

protected State ( ) : System
리턴 System

Update() 공개 메소드

Update is called once every Timestep. Game logic should be handled here (movement, animations, etc).
public Update ( ) : void
리턴 void

프로퍼티 상세

Camera 공개적으로 프로퍼티

public Camera,Californium Camera
리턴 Camera

Entities 공개적으로 프로퍼티

public EntityManager Entities
리턴 EntityManager

Map 공개적으로 프로퍼티

public TileMap,Californium Map
리턴 TileMap