|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttest.android.Doty
public class Doty
Doty is the main character of the game
Constructor Summary | |
---|---|
Doty(double x,
double y,
double z)
Constructor for objects of class Doty |
Method Summary | |
---|---|
double |
getScale()
|
double |
getX()
|
double |
getY()
|
double |
getZ()
|
void |
move(double dx,
double dz)
|
void |
moveX(double delta)
Move doty in the x direction. |
void |
moveZ(double delta)
Move doty in the z direction |
void |
revert()
Reverts doty back to the previous position |
void |
setExitFrom(java.lang.String dir)
This method is called when Doty exits from a room. |
void |
setRoomDim(double w,
double d)
Set the dimension of the room Doty is in |
void |
setX(double x)
|
void |
setY(double y)
|
void |
setZ(double z)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Doty(double x, double y, double z)
Method Detail |
---|
public void setRoomDim(double w, double d)
public void setExitFrom(java.lang.String dir)
dir
- The direction in which Doty exited from.public void moveX(double delta)
public void moveZ(double delta)
public void move(double dx, double dz)
public void revert()
public double getX()
public double getY()
public double getZ()
public double getScale()
public void setX(double x)
public void setY(double y)
public void setZ(double z)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |