Package com.golden.gamedev.object.collision

Examples of com.golden.gamedev.object.collision.CollisionRect


   * Returns default {@linkplain #defaultCollisionShape collision shape}, can
   * be used along with collision manager.
   */
  public CollisionShape getDefaultCollisionShape() {
    if (this.defaultCollisionShape == null) {
      this.defaultCollisionShape = new CollisionRect();
    }
   
    this.defaultCollisionShape.setBounds(this.getX(), this.getY(), this
            .getWidth(), this.getHeight());
   
View Full Code Here

TOP

Related Classes of com.golden.gamedev.object.collision.CollisionRect

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.