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