protected override void Initialize() { _tileMap = new TileMap(); _player = new MarsRover(this, new Point(0,0),Orientation.NORTH); Components.Add(_player); _player.MoveRover(Move.Forward); //move one step forward base.Initialize(); }
protected override void Initialize() { _player = new MarsRover(this, new Point(0,0),Orientation.NORTH); _tileMap = _player.Controller.Tilemap; Components.Add(_player); _player.Controller.MoveRover("fflfffffrfffflffffrflffffrflffrf"); base.Initialize(); }