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