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;
     }
 }
예제 #2
0
 public void keyDown(EnumRemappedKey remappedKey)
 {
 }
예제 #3
0
 public void keyUp(EnumRemappedKey remappedKey)
 {
 }