예제 #1
0
 public ImprovementOrder(TerrainImprovement improvement, Main main, Game game) : base(main,
                                                                                      ParseShortCut(improvement.Shortcut),
                                                                                      TerrainImprovementFunctions.LabelFrom(improvement.Levels[0]), 0)
 {
     _improvement = improvement;
     _game        = game;
 }
예제 #2
0
 public ImprovementOrder(TerrainImprovement improvement, Main main, Game game, MenuElement menuElement) : base(main,
                                                                                                               ParseShortCut(improvement.Shortcut),
                                                                                                               menuElement?.MenuText ??
                                                                                                               TerrainImprovementFunctions.LabelFrom(improvement.Levels[0]), improvement.MenuGroup)
 {
     _improvement = improvement;
     _game        = game;
 }