Package collider


package collider
The package contains classes implementing a 'bounding box' area around game objects.
The abstract base class Collider provides the abstract method Collider.collidesWith(Collider), which needs to be implemented by child classes to detect and decide whether or not an object with such instance really collides with the other. Collider instances are to be used for game objects (gameobjects); see constructors.
The benefit of seperating Colliders from visual representations is that the area for collisions can be smaller/bigger/other shape to improve game play experience.