Subclass of LevelRunner that handles running levels located within a directory.
More...
|
string | DirectoryPath [get] |
| File path to the directory containing the levels.
|
|
|
Player | CurrentPlayer |
| The Player instance that this LevelRunner is running under.
|
|
LevelPackage | CurrentLevelPackage |
| The level package containing the level that the player is currently playing.
|
|
LevelPackage | Lobby |
| The level package containing the level that's acting as the app's lobby.
This is separate from CurrentLevel so both the lobby and the level that the player is currently playing can run at the same time.
|
|
Subclass of LevelRunner that handles running levels located within a directory.
◆ DirectoryLevelRunner()
Jumpvalley.Levels.DirectoryLevelRunner.DirectoryLevelRunner |
( |
Player | player, |
|
|
string | directoryPath ) |
|
inline |
Creates a new DirectoryLevelRunner
- Parameters
-
player | The player instance to run this level runner under |
directoryPath | Path to the directory containing the levels |
◆ FindLevelById()
LevelPackage Jumpvalley.Levels.DirectoryLevelRunner.FindLevelById |
( |
string | levelId | ) |
|
|
inline |
Finds a level package in the directory by it's user-defined ID.
- Returns
The documentation for this class was generated from the following file: