/// <summary> /// Disables the controller associated with the given TurnType. /// </summary> public void DisableController(TurnType type) { if (type == TurnType.FIRST) { FirstController.Disable(); } else { SecondController.Disable(); } }
/// <summary> /// Deactivates both controllers. /// </summary> public void DeactivateAll() { CurrentController = null; FirstController.Disable(); SecondController.Disable(); }