Beispiel #1
0
 public void Remove(Controller controller)
 {
     PlayerController playerController = controller as PlayerController;
     if (playerController != null)
         this.PlayerControllers.Remove(playerController);
     else
         controllers.Remove(controller);
 }
Beispiel #2
0
 public void Add(Controller controller)
 {
     PlayerController playerController = controller as PlayerController;
     if (playerController != null)
         this.PlayerControllers.Add(playerController);
     else
         controllers.Add(controller);
 }