cz.cuni.amis.pogamut.udk.communication.messages.gbcommands
Class SetWalk

Package class diagram package SetWalk
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.SetWalk

public class SetWalk
extends CommandMessage

Set whether you are walking or running (default is run). Corresponding GameBots command is SETWALK.


Field Summary
protected  boolean Walk
          True or false to enable/disable bot walking.
 
Constructor Summary
SetWalk()
          Creates new instance of command SetWalk.
SetWalk(boolean Walk)
          Creates new instance of command SetWalk.
SetWalk(SetWalk original)
          Cloning constructor.
 
Method Summary
 boolean isWalk()
          True or false to enable/disable bot walking.
 SetWalk setWalk(boolean Walk)
          True or false to enable/disable bot walking.
 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

Walk

protected boolean Walk
True or false to enable/disable bot walking.

Constructor Detail

SetWalk

public SetWalk(boolean Walk)
Creates new instance of command SetWalk. Set whether you are walking or running (default is run). Corresponding GameBots message for this command is SETWALK.

Parameters:
Walk - True or false to enable/disable bot walking.

SetWalk

public SetWalk()
Creates new instance of command SetWalk. Set whether you are walking or running (default is run). Corresponding GameBots message for this command is SETWALK.

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


SetWalk

public SetWalk(SetWalk original)
Cloning constructor.

Method Detail

isWalk

public boolean isWalk()
True or false to enable/disable bot walking.


setWalk

public SetWalk setWalk(boolean Walk)
True or false to enable/disable bot walking.


toString

public String toString()
Overrides:
toString in class 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.