Class Collision

java.lang.Object
buildengine.engine.stage.scene.physics.Collision

public class Collision extends Object
Contains collision information
  • Constructor Details

    • Collision

      public Collision(Actor actor, Vector2f correction)
  • Method Details

    • getActor

      public Actor getActor()
      Returns the actor who is collided with
      Returns:
      the actor who is collided with
    • getCorrection

      public Vector2f getCorrection()
    • toString

      public String toString()
      Overrides:
      toString in class Object