apes
Class Ape

java.lang.Object
  extended by apes.ImageObject
      extended by apes.CollidableImageObject
          extended by apes.Ape
All Implemented Interfaces:
ICollidableObject, ILevelObject

public class Ape
extends CollidableImageObject

This class represents an ape. It does not have any more methods or functionality that a CollidableImageObject.


Field Summary
 
Fields inherited from class apes.ImageObject
image, name, position
 
Constructor Summary
Ape(java.lang.String name, org.newdawn.slick.Image image, org.newdawn.slick.geom.Vector2f position, org.newdawn.slick.geom.Shape collisionShape)
          constructs a new ape by calling the constructor of CollidableImageObject with the provided arguments.
 
Method Summary
 
Methods inherited from class apes.CollidableImageObject
getCollisionShape, getNormalCollisionShape, isCollidingWith, render, setPosition
 
Methods inherited from class apes.ImageObject
getName, getPosition, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ape

public Ape(java.lang.String name,
           org.newdawn.slick.Image image,
           org.newdawn.slick.geom.Vector2f position,
           org.newdawn.slick.geom.Shape collisionShape)
constructs a new ape by calling the constructor of CollidableImageObject with the provided arguments.

Parameters:
name - name of the ape
image - image of the ape
position - top left position of the image/ape in the screen
collisionShape - a Shape around the image