Package net.cis.client.game.input.listener

Examples of net.cis.client.game.input.listener.InputListener


    inputManager.addMapping("StrafeRight", new KeyTrigger(KeyInput.KEY_D));

    inputManager.addMapping("bla", new KeyTrigger(KeyInput.KEY_LEFT));
    inputManager.addMapping("blubb", new KeyTrigger(KeyInput.KEY_RIGHT));

    inputManager.addListener(new InputListener(vehicleControl, player), new String[] { "RotateUp", "RotateDown",
        "RotateLeft", "RotateRight", "Accelerate", "Brake", "RollLeft", "RollRight", "StrafeLeft",
        "StrafeRight", "bla", "blubb" });
  }
View Full Code Here

TOP

Related Classes of net.cis.client.game.input.listener.InputListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.