예제 #1
0
 public LevelPanel(Robot robot, List <Level> levels, LevelRenderer levelRenderer)
 {
     Robot         = robot;
     Levels        = levels;
     LevelRenderer = levelRenderer;
     AddChild(CreateContentPanel());
 }
예제 #2
0
 public LevelController(Robot robot, InputParams inputParams, Calendar calendar)
 {
     Robot      = robot;
     Params     = inputParams;
     Calendar   = calendar;
     Renderer   = new LevelRenderer(Robot);
     Calculator = new RiskCalculator(Robot);
 }