public Boolean collides(GameObject gameObject) { return collides(gameObject.boundingBox); }
public BoundingBox2D(GameObject gameObject, Vector2 size) { this.position = gameObject.position; this.size = size; }
public Boolean collides(GameObject gameObject) { return collides(gameObject.boundingBox); }
public BoundingBox2D(GameObject gameObject, Vector2 size) { this.position = gameObject.position; this.size = size; }