apes
Interface ICollidableObject

All Known Implementing Classes:
Ape, Banana, Block, CollidableImageObject

public interface ICollidableObject

An interface for an object that can collide with other ICollidableObjects.


Method Summary
 org.newdawn.slick.geom.Shape getCollisionShape()
          returns the collision shape of this object moved to its actual position.
 org.newdawn.slick.geom.Shape getNormalCollisionShape()
          returns the general collision shape of this object.
 boolean isCollidingWith(ICollidableObject collidable)
          checks weather or not this object is colliding with the provided object.
 

Method Detail

getNormalCollisionShape

org.newdawn.slick.geom.Shape getNormalCollisionShape()
returns the general collision shape of this object.

Returns:

getCollisionShape

org.newdawn.slick.geom.Shape getCollisionShape()
returns the collision shape of this object moved to its actual position.

Returns:

isCollidingWith

boolean isCollidingWith(ICollidableObject collidable)
checks weather or not this object is colliding with the provided object.

Parameters:
collidable -
Returns: