Esempio n. 1
0
        private void CreateObstacle(Point point)
        {
            Obstacle obstacle = new Obstacle(point, false);

            Mars.AddObstacle(obstacle);
        }
Esempio n. 2
0
 private void DestroyObstacle(Obstacle obstacle)
 {
     Mars.RemoveObstacle(obstacle);
 }
Esempio n. 3
0
 protected virtual void DestroyObstacle(Obstacle obstacle)
 {
     Mars.RemoveObstacle(obstacle);
 }
Esempio n. 4
0
 public void AddObstacle(Obstacle obstacle)
 {
     _obstacles.Add(obstacle);
 }
Esempio n. 5
0
 public void RemoveObstacle(Obstacle obstacle)
 {
     _obstacles.Remove(obstacle);
 }