public void keyDown(EnumRemappedKey remappedKey)
 {
     if (remappedKey == EnumRemappedKey.ENTITY_ACCELERATE)
     {
         entityController.inputAcceleration = 1.0f;
     }
     else if (remappedKey == EnumRemappedKey.ENTITY_DEACCELERATE)
     {
         entityController.inputAcceleration = -1.0f;
     }
     else if (remappedKey == EnumRemappedKey.ENTITY_PITCHADD)
     {
         entityController.inputPitch = 1.0f;
     }
     else if (remappedKey == EnumRemappedKey.ENTITY_PITCHSUB)
     {
         entityController.inputPitch = -1.0f;
     }
     else if (remappedKey == EnumRemappedKey.ENTITY_YAWADD)
     {
         entityController.inputYaw = 1.0f;
     }
     else if (remappedKey == EnumRemappedKey.ENTITY_YAWSUB)
     {
         entityController.inputYaw = -1.0f;
     }
 }
Example #2
0
 public void keyDown(EnumRemappedKey remappedKey)
 {
 }
Example #3
0
 public void keyUp(EnumRemappedKey remappedKey)
 {
 }