コード例 #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();
 }
コード例 #2
0
 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
ファイル: BaseScene.cs プロジェクト: timothy-s-dev/Emergence
 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);
 }