Package org.bitbucket.kchau.longshot.util

Examples of org.bitbucket.kchau.longshot.util.Vector2


 
  public MovableObject()
  {
    /** Default MovableObject has allocated velocity and accel
     * vectors with a position of 0,0.*/
    velocity = new Vector2();
    acceleration = new Vector2();
    this.x = 0;
    this.y = 0;
  }
View Full Code Here


    this.y = 0;
  }
 
  public MovableObject(short x, short y)
  {
    velocity = new Vector2();
    acceleration = new Vector2();
    this.x = x;
    this.y = y;
  }
View Full Code Here

  }
 
  public MovableObject(short x, short y, Vector2 velocity)
  {
    this.velocity = velocity;
    acceleration = new Vector2();
    this.x = x;
    this.y = y;
  }
View Full Code Here

TOP

Related Classes of org.bitbucket.kchau.longshot.util.Vector2

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.