Package com.googlecode.jumpnevolve.math

Examples of com.googlecode.jumpnevolve.math.Vector.sub()


          .add(this.camera.getPosition()).add(
              Engine.getInstance().getWidth() / 2.0f,
              Engine.getInstance().getHeight() / 2.0f);
      if (input.isMousePressed(Input.MOUSE_LEFT_BUTTON)) {
        LevelMarker newLevel = this.currentLevel
            .getLevelInDirection(mousePos
                .sub(this.currentLevel.position));

        this.currentLevel = newLevel;
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.