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

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

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

Drive command specified for a sub or a boat. Corresponding GameBots command is DRIVE.


Field Summary
protected  boolean Light
           
protected  boolean Normalized
           
protected  double Propeller
           
protected  double Rudder
           
protected  double SternPlane
           
 
Constructor Summary
DriveNautic()
          WARNING: this is empty-command constructor, you have to use setters to fill it up!
DriveNautic(double Propeller, double Rudder, double SternPlane, boolean Normalized, boolean Light)
           
DriveNautic(DriveNautic original)
          Cloning constructor.
 
Method Summary
 double getPropeller()
           
 double getRudder()
           
 double getSternPlane()
           
 boolean isLight()
           
 boolean isNormalized()
           
 DriveNautic setLight(boolean Light)
           
 DriveNautic setNormalized(boolean Normalized)
           
 DriveNautic setPropeller(double Propeller)
           
 DriveNautic setRudder(double Rudder)
           
 DriveNautic setSternPlane(double SternPlane)
           
 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

Propeller

protected double Propeller

Rudder

protected double Rudder

SternPlane

protected double SternPlane

Normalized

protected boolean Normalized

Light

protected boolean Light
Constructor Detail

DriveNautic

public DriveNautic(double Propeller,
                   double Rudder,
                   double SternPlane,
                   boolean Normalized,
                   boolean Light)

DriveNautic

public DriveNautic()

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


DriveNautic

public DriveNautic(DriveNautic original)
Cloning constructor.

Method Detail

getPropeller

public double getPropeller()

setPropeller

public DriveNautic setPropeller(double Propeller)

getRudder

public double getRudder()

setRudder

public DriveNautic setRudder(double Rudder)

getSternPlane

public double getSternPlane()

setSternPlane

public DriveNautic setSternPlane(double SternPlane)

isNormalized

public boolean isNormalized()

setNormalized

public DriveNautic setNormalized(boolean Normalized)

isLight

public boolean isLight()

setLight

public DriveNautic setLight(boolean Light)

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.