Example #1
0
 /**
  * Adds the BitzawolfGameObject to this Game Manager so that it can be updated and use
  * the manager's deligated state-based update functions.
  */
 public void AddGameObject(BitzawolfGameObject bgo)
 {
     if (bgo == null)
     {
         Debug.LogError("Null BitzawolfGameObject passed to Game Manager AddGameObject");
     }
     gameObjects.Add(bgo);
 }
Example #2
0
 /**
  * Removes the BitzawolfGameObject from this Game Manager so that it will no longer be updated
  * and used by the manager's deligated state-based update functions.
  */
 public bool RemoveGameObject(BitzawolfGameObject bgo)
 {
     return(gameObjects.Remove(bgo));
 }