Package edu.ups.gamedev.player

Examples of edu.ups.gamedev.player.TankInputHandler


  /**
   * Create an InputHandler and handle the mouse.
   */
  protected void buildInput() {
    // TODO this is sort of messy and out of order, TankInputHandler should be handled when creating tanks, or something
    input = new TankInputHandler((Tank) player.getControlledObject());

    // Create a new mouse. Restrict its movements to the display screen.
    mouse = new AbsoluteMouse("mouse", display.getWidth(), display
        .getHeight());

View Full Code Here

TOP

Related Classes of edu.ups.gamedev.player.TankInputHandler

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.