C# Class geek.GameEngine.GameStoryBoard

Manages the game's storyboard and transitions between scenes.
Afficher le fichier Open project: impworks/xna.geek.engine

Méthodes publiques

Свойство Type Description
Scenes GameScene>.Dictionary

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GameStoryBoard ( ) : System

Method Details

AddLevel() public static méthode

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.
Résultat void

GotoLevel() public static méthode

Go to a new level.
public static GotoLevel ( string name ) : void
name string Level name.
Résultat void

LevelExists() public static méthode

Checks whether a level with such name exists.
public static LevelExists ( string name ) : bool
name string Level name.
Résultat bool

RemoveLevel() public static méthode

Remove a specific level from storyboard.
public static RemoveLevel ( string name ) : void
name string Level.
Résultat void

RestartLevel() public static méthode

Restart the current level.
public static RestartLevel ( ) : void
Résultat void

Property Details

Scenes public_oe static_oe property

The levels used in the game.
public static Dictionary Scenes
Résultat GameScene>.Dictionary