Beispiel #1
0
 // Destroys the box by removing it from the field and from the game field
 public override void Destroy()
 {
     underThis.RemoveMoveable();
     GameField.GetInstance().RemoveBox(this);
 }
 // ReMoves the worker from the control interface
 // and signals this action to the game field
 public void RemoveWorker()
 {
     worker = null;
     GameField.GetInstance().OutOfWorkers();
 }