C# 클래스 geek.GameEngine.GameStoryBoard

Manages the game's storyboard and transitions between scenes.
파일 보기 프로젝트 열기: impworks/xna.geek.engine

공개 프로퍼티들

프로퍼티 타입 설명
Scenes GameScene>.Dictionary

공개 메소드들

메소드 설명
AddLevel ( string name, GameScene level ) : void

Create a new level and add it to the storyboard.

GotoLevel ( string name ) : void

Go to a new level.

LevelExists ( string name ) : bool

Checks whether a level with such name exists.

RemoveLevel ( string name ) : void

Remove a specific level from storyboard.

RestartLevel ( ) : void

Restart the current level.

비공개 메소드들

메소드 설명
GameStoryBoard ( ) : System

메소드 상세

AddLevel() 공개 정적인 메소드

Create a new level and add it to the storyboard.
public static AddLevel ( string name, GameScene level ) : void
name string Desired level name (must be unique across the game).
level geek.GameEngine.Visuals.GameScene Level.
리턴 void

GotoLevel() 공개 정적인 메소드

Go to a new level.
public static GotoLevel ( string name ) : void
name string Level name.
리턴 void

LevelExists() 공개 정적인 메소드

Checks whether a level with such name exists.
public static LevelExists ( string name ) : bool
name string Level name.
리턴 bool

RemoveLevel() 공개 정적인 메소드

Remove a specific level from storyboard.
public static RemoveLevel ( string name ) : void
name string Level.
리턴 void

RestartLevel() 공개 정적인 메소드

Restart the current level.
public static RestartLevel ( ) : void
리턴 void

프로퍼티 상세

Scenes 공개적으로 정적으로 프로퍼티

The levels used in the game.
public static Dictionary Scenes
리턴 GameScene>.Dictionary