public Plateau(int x, int y) { X = x; Y = y; DrawPlateau(); MoveManager = new MoveManager(Points); }
public void Run() { foreach (var command in Commands) { switch (command) { case ('L'): Direction = MoveManager.TurnLeft(this); break; case ('R'): Direction = MoveManager.TurnRight(this); break; case ('M'): Point = MoveManager.Move(this); break; } } }