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