|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimogl.gameobjects.AbstractGameObject
simogl.gameobjects.character.AbstractCharacter
public abstract class AbstractCharacter
This abstract class is the basic version of a character. Any specialized character must extend this class.
| Constructor Summary | |
|---|---|
AbstractCharacter(float x,
float y,
float z)
Creates a new abstract character at the specified position |
|
| Method Summary | |
|---|---|
void |
update(long elapsedTime)
Updates a game object |
| Methods inherited from class simogl.gameobjects.AbstractGameObject |
|---|
getModel, getName, getPosition, getX, getY, getZ, setPosition, setPosition, setX, setY, setZ |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCharacter(float x,
float y,
float z)
x - x-coordinatey - y-coordinatez - z-coordinate| Method Detail |
|---|
public void update(long elapsedTime)
AbstractGameObject
update in class AbstractGameObjectelapsedTime - time between two frames
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||