Package framework.spacial.translational

Examples of framework.spacial.translational.VelocityComponent


  public Square(int x, int y) {
    super();
    addComponent(new PositionComponent(x,y));
    addComponent(new SpriteComponent("img/square.png"));
    addComponent(new VelocityComponent(new Vector2f(0.01f, 0.1f)));
    addComponent(new CollisionComponent(new PointCollisionMask()));
  }
View Full Code Here

TOP

Related Classes of framework.spacial.translational.VelocityComponent

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.