cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands
Class Trace

Package class diagram package Trace
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands.Trace

public class Trace
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage

USARSim has the capability of tracing the path that a robot takes. Colored Navigation Points are dropped into the world as the robot travels; effectively “tracing” the robot’s path. Tracing can be used with the * Corresponding GameBots command is Trace.


Field Summary
protected  String Clear
           
protected  String Color
           
protected  double Interval
           
protected  boolean On
           
 
Constructor Summary
Trace()
          WARNING: this is empty-command constructor, you have to use setters to fill it up!
Trace(boolean On, double Interval, String Color)
           
Trace(boolean On, double Interval, TraceColor Color)
           
Trace(String Clear)
           
Trace(Trace original)
          Cloning constructor.
 
Method Summary
 String getClear()
           
 String getColor()
           
 double getInterval()
           
 boolean isOn()
           
 Trace setColor(String Color)
           
 Trace setInterval(double Interval)
           
 Trace setOn(boolean On)
           
 String toHtmlString()
           
 String toMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

On

protected boolean On

Interval

protected double Interval

Color

protected String Color

Clear

protected String Clear
Constructor Detail

Trace

public Trace(boolean On,
             double Interval,
             TraceColor Color)

Trace

public Trace(boolean On,
             double Interval,
             String Color)

Trace

public Trace(String Clear)

Trace

public Trace()

WARNING: this is empty-command constructor, you have to use setters to fill it up!


Trace

public Trace(Trace original)
Cloning constructor.

Method Detail

isOn

public boolean isOn()

setOn

public Trace setOn(boolean On)

getInterval

public double getInterval()

setInterval

public Trace setInterval(double Interval)

getColor

public String getColor()

setColor

public Trace setColor(String Color)

getClear

public String getClear()

toString

public String toString()
Overrides:
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.