public MainMenuScene(Game game)
     : base(game)
 {
     background = RexPaintImageLoader.LoadImage("Assets/MainMenu/Background.xp");
     backgroundColor = new TCODColor(0, 32, 64);
     creditsDoneRendering = false;
     GenerateStarfield();
     GenerateClouds();
 }
 public PersonnelWoundsScene(Game game, BaseScene previousScene, List<Character> characters, int selected = 0)
     : base(game)
 {
     PreviousScene = previousScene;
     Characters = characters;
     UiLayout = Ui.UiLayout.Load("Assets/Layouts/CharacterScreenWounds.ui");
     CharacterList = new Ui.UiList<Character>(Characters, RenderCharacterListItem);
     CharacterList.SelectedIndex = selected;
 }
 public MapGenTestScene(Game game)
     : base(game)
 {
     Map = new ExcursionMap(game.Settings.ScreenWidth, game.Settings.ScreenHeight);
 }
Beispiel #4
0
 public BaseScene(Game game)
 {
     Game = game;
 }
 public TaskBoardScene(Game game, BaseScene previousScene)
     : base(game)
 {
     PreviousScene = previousScene;
     TaskList = new Ui.UiList<Task>(Game.State.Tasks, RenderTaskListItem);
 }