Esempio n. 1
0
 public bool checkMapType(OuyaMapType againstType)
 {
     /* returns true if the controller type equals that of the given one
      */
     if (againstType == mapType) return true;
     else return false;
 }
Esempio n. 2
0
 public void setController(OuyaPlayer player, OuyaMapType mapType)
 {
     /* allows to reinitialize the ID of an existing controller mapping
      */
     this.mapType = mapType;
     this.player = player;
 }
Esempio n. 3
0
 public PlayerController(OuyaPlayer player, OuyaMapType controllerType)
 {
     /* constructor
      */
     this.mapType = controllerType;
     this.player = player;
 }