|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.examples.event.demo2.Zombie
public class Zombie
A Zombie character in the demo example. Zombie has the ability to get its position by calling
getX
and change its position by calling setX(int x)
to set its x position.
Method Summary | |
---|---|
int |
getX()
Get the x position of the zombie |
void |
setX(int x)
Set the current x position of the zombie |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getX()
public void setX(int x)
x
- zombie's x position
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |