public Game(IGameConfigurator congigurator, IGameView view) { IsStarted += view.GameAction; IsMoveEnded += view.MoveAction; _robots = congigurator.GetRobots(); _field = congigurator.GetField(); foreach (var robot in _robots) { robot.MoveIsMaked += view.RobotAction; } }
public Game(GameField field, List<IRobot> robots) { _field = field; _robots = robots; }
public Game(GameField field, List <IRobot> robots) { _field = field; _robots = robots; }