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

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

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

Drive command specified for a joint. Corresponding GameBots command is DRIVE.


Field Summary
protected  String Name
           
protected  int Order
           
protected  int Steer
           
protected  double Value
           
 
Constructor Summary
DriveJoint()
          WARNING: this is empty-command constructor, you have to use setters to fill it up!
DriveJoint(DriveJoint original)
          Cloning constructor.
DriveJoint(String Name, int Steer, int Order, double Value)
           
 
Method Summary
 String getName()
           
 int getOrder()
           
 int getSteer()
           
 double getValue()
           
 DriveJoint setName(String Name)
           
 DriveJoint setOrder(int Order)
           
 DriveJoint setSteer(int Steer)
           
 DriveJoint setValue(double Value)
           
 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

Name

protected String Name

Steer

protected int Steer

Order

protected int Order

Value

protected double Value
Constructor Detail

DriveJoint

public DriveJoint(String Name,
                  int Steer,
                  int Order,
                  double Value)

DriveJoint

public DriveJoint()

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


DriveJoint

public DriveJoint(DriveJoint original)
Cloning constructor.

Method Detail

getName

public String getName()

setName

public DriveJoint setName(String Name)

getSteer

public int getSteer()

setSteer

public DriveJoint setSteer(int Steer)

getOrder

public int getOrder()

setOrder

public DriveJoint setOrder(int Order)

getValue

public double getValue()

setValue

public DriveJoint setValue(double Value)

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.