protected void assign(ControllerCodes controller)
 {
     controllerCode = controller;
     availableControllers ^= controller;
 }
 public virtual void unassign()
 {
     availableControllers = availableControllers | controllerCode;
     controllerCode = ControllerCodes.None;
 }
 public static void ResetControllers()
 {
     availableControllers = ControllerCodes.All;
     halfControllers = new List<HalfController>();
     fullControllers = new List<FullController>();
 }
Exemple #4
0
 public virtual void unassign()
 {
     availableControllers = availableControllers | controllerCode;
     controllerCode       = ControllerCodes.None;
 }
Exemple #5
0
 protected void assign(ControllerCodes controller)
 {
     controllerCode        = controller;
     availableControllers ^= controller;
 }
Exemple #6
0
 public static void ResetControllers()
 {
     availableControllers = ControllerCodes.All;
     halfControllers      = new List <HalfController>();
     fullControllers      = new List <FullController>();
 }