Class WalkingDoll

java.lang.Object
  extended byWalkingDoll

public class WalkingDoll
extends Object


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

current

public CharNode current
Which character node position are we at?


start

public CharNode start
Starting position for new walking.


x

public int x
Position for the character


y

public int y
Position for the character


frames

FrameSequence frames
FrameSequence for the display

Constructor Detail

WalkingDoll

public WalkingDoll()
We'll do the list setup in the constructor

Method Detail

getX

public int getX()

getY

public int getY()

setLoc

public void setLoc(int nux,
                   int nuy)

setUp

public void setUp()
Setup to display walking left to right


start

public void start()
Start a walking sequence


draw

public void draw()
Draw the current character


step

public void step()
Draw the next step


steps

public void steps(int num)
Draw a few steps


replay

public void replay(int delay)
Delegate replay