Пример #1
0
 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;
 }
Пример #3
0
 public MapGenTestScene(Game game)
     : base(game)
 {
     Map = new ExcursionMap(game.Settings.ScreenWidth, game.Settings.ScreenHeight);
 }
Пример #4
0
 public BaseScene(Game game)
 {
     Game = game;
 }
Пример #5
0
 public TaskBoardScene(Game game, BaseScene previousScene)
     : base(game)
 {
     PreviousScene = previousScene;
     TaskList = new Ui.UiList<Task>(Game.State.Tasks, RenderTaskListItem);
 }