jau.gfxmisc
Class EasyTurtle

java.lang.Object
  |
  +--jau.gfxmisc.EasyTurtle

public class EasyTurtle
extends java.lang.Object


Field Summary
static int BWD
           
protected  int dir
           
static int EAST
           
static int FWD
           
static int LEFT
           
static int NORTH
           
static int RIGHT
           
static int SOUTH
           
static int WEST
           
protected  double x
           
protected  double y
           
 
Constructor Summary
EasyTurtle(int _dir, double _x, double _y)
           
 
Method Summary
 int getDir()
           
 double getX()
           
 double getY()
           
 void Move(int _move, double _step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORTH

public static final int NORTH

WEST

public static final int WEST

SOUTH

public static final int SOUTH

EAST

public static final int EAST

FWD

public static final int FWD

LEFT

public static final int LEFT

BWD

public static final int BWD

RIGHT

public static final int RIGHT

x

protected double x

y

protected double y

dir

protected int dir
Constructor Detail

EasyTurtle

public EasyTurtle(int _dir,
                  double _x,
                  double _y)
Method Detail

getX

public double getX()

getY

public double getY()

getDir

public int getDir()

Move

public void Move(int _move,
                 double _step)