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; }
public void setController(OuyaPlayer player, OuyaMapType mapType) { /* allows to reinitialize the ID of an existing controller mapping */ this.mapType = mapType; this.player = player; }
public PlayerController(OuyaPlayer player, OuyaMapType controllerType) { /* constructor */ this.mapType = controllerType; this.player = player; }