jp.digitalmuseum.mr.andy
クラス MobileRobot

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.andy.Entity
      上位を拡張 jp.digitalmuseum.mr.andy.MobileRobot

public class MobileRobot
extends Entity


コンストラクタの概要
MobileRobot(Robot robot)
           
 
メソッドの概要
 boolean backward()
           
 boolean followVectorField(VectorField vf)
           
 boolean forward()
           
 Robot getEntityCore()
           
 Position getGoal()
           
 boolean getGoalOut(Position p)
           
 java.lang.String getName()
           
 java.lang.String getStatus()
           
 Entity getSubject()
           
 Task getTask()
           
 boolean moveTo(double x, double y)
           
 boolean moveTo(int screenX, int screenY)
           
 boolean moveTo(Position p)
           
 boolean pushTo(Entity e, double x, double y)
           
 boolean pushTo(Entity e, int screenX, int screenY)
           
 boolean pushTo(Entity e, Position p)
           
 void setName(java.lang.String name)
           
 boolean spinLeft()
           
 boolean spinRight()
           
 boolean startTask(Task task)
           
 boolean stop()
           
 void stopTask()
           
 
クラス jp.digitalmuseum.mr.andy.Entity から継承されたメソッド
addLocationListener, getLocation, getLocationOut, getPosition, getPositionOut, removeLocationListener
 
クラス 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 http://mr.digitalmuseum.jp/