C# 클래스 Vtj.Gaming.GameSystem

Provides a framework for game subsystems to be easily reused among scenes
상속: IDisposable
파일 보기 프로젝트 열기: Ventajou/Space-Dinosaurs 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Override to clean up any resource used.

Init ( Scene level ) : void

Called when the scene is being initialized.

Load ( ) : void

Called when all resources have been loaded.

Pause ( ) : void

Called when the game is paused.

Resume ( ) : void

Called when the game is resumed from pause.

Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void

Called at each iterarion.

메소드 상세

Dispose() 공개 메소드

Override to clean up any resource used.
public Dispose ( ) : void
리턴 void

Init() 공개 추상적인 메소드

Called when the scene is being initialized.
public abstract Init ( Scene level ) : void
level Scene The game scene that this instance is attached to
리턴 void

Load() 공개 메소드

Called when all resources have been loaded.
public Load ( ) : void
리턴 void

Pause() 공개 메소드

Called when the game is paused.
public Pause ( ) : void
리턴 void

Resume() 공개 메소드

Called when the game is resumed from pause.
public Resume ( ) : void
리턴 void

Update() 공개 추상적인 메소드

Called at each iterarion.
public abstract Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void
context System.Html.Media.Graphics.CanvasContext2D
리턴 void