|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWalkingDoll
Field Summary | |
CharNode |
current
Which character node position are we at? |
(package private) FrameSequence |
frames
FrameSequence for the display |
CharNode |
start
Starting position for new walking. |
int |
x
Position for the character |
int |
y
Position for the character |
Constructor Summary | |
WalkingDoll()
We'll do the list setup in the constructor |
Method Summary | |
void |
draw()
Draw the current character |
int |
getX()
|
int |
getY()
|
void |
replay(int delay)
Delegate replay |
void |
setLoc(int nux,
int nuy)
|
void |
setUp()
Setup to display walking left to right |
void |
start()
Start a walking sequence |
void |
step()
Draw the next step |
void |
steps(int num)
Draw a few steps |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public CharNode current
public CharNode start
public int x
public int y
FrameSequence frames
Constructor Detail |
public WalkingDoll()
Method Detail |
public int getX()
public int getY()
public void setLoc(int nux, int nuy)
public void setUp()
public void start()
public void draw()
public void step()
public void steps(int num)
public void replay(int delay)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |