C# Класс geek.GameEngine.GameStoryBoard

Manages the game's storyboard and transitions between scenes.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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