jp.digitalmuseum.mr.andy
クラス MobileRobot
java.lang.Object
jp.digitalmuseum.mr.andy.Entity
jp.digitalmuseum.mr.andy.MobileRobot
-
public class MobileRobot
- extends Entity
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MobileRobot
public MobileRobot(Robot robot)
getStatus
public java.lang.String getStatus()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
getGoal
public Position getGoal()
getGoalOut
public boolean getGoalOut(Position p)
startTask
public boolean startTask(Task task)
stopTask
public void stopTask()
getTask
public Task getTask()
getSubject
public Entity getSubject()
forward
public boolean forward()
backward
public boolean backward()
spinLeft
public boolean spinLeft()
spinRight
public boolean spinRight()
stop
public boolean stop()
moveTo
public boolean moveTo(Position p)
moveTo
public boolean moveTo(double x,
double y)
moveTo
public boolean moveTo(int screenX,
int screenY)
pushTo
public boolean pushTo(Entity e,
Position p)
pushTo
public boolean pushTo(Entity e,
double x,
double y)
pushTo
public boolean pushTo(Entity e,
int screenX,
int screenY)
followVectorField
public boolean followVectorField(VectorField vf)
getEntityCore
public Robot getEntityCore()
- オーバーライド:
- クラス
Entity
内の getEntityCore
Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/