|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapes.ImageObject
apes.CollidableImageObject
apes.Ape
public class Ape
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 |
---|
public Ape(java.lang.String name, org.newdawn.slick.Image image, org.newdawn.slick.geom.Vector2f position, org.newdawn.slick.geom.Shape collisionShape)
CollidableImageObject
with the provided arguments.
name
- name of the apeimage
- image of the apeposition
- top left position of the image/ape in the screencollisionShape
- a Shape around the image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |