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

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

public class RemoveRay
extends CommandMessage

Will remove a ray from auto ray trace specified by Id. Corresponding GameBots command is REMOVERAY.


Field Summary
protected  String Id
          Id of the ray to be removed.
 
Constructor Summary
RemoveRay()
          Creates new instance of command RemoveRay.
RemoveRay(RemoveRay original)
          Cloning constructor.
RemoveRay(String Id)
          Creates new instance of command RemoveRay.
 
Method Summary
 String getId()
          Id of the ray to be removed.
 RemoveRay setId(String Id)
          Id of the ray to be removed.
 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

Id

protected String Id
Id of the ray to be removed. If Id = "All" all rays will be removedr.

Constructor Detail

RemoveRay

public RemoveRay(String Id)
Creates new instance of command RemoveRay. Will remove a ray from auto ray trace specified by Id. Corresponding GameBots message for this command is REMOVERAY.

Parameters:
Id - Id of the ray to be removed. If Id = "All" all rays will be removedr.

RemoveRay

public RemoveRay()
Creates new instance of command RemoveRay. Will remove a ray from auto ray trace specified by Id. Corresponding GameBots message for this command is REMOVERAY.

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


RemoveRay

public RemoveRay(RemoveRay original)
Cloning constructor.

Method Detail

getId

public String getId()
Id of the ray to be removed. If Id = "All" all rays will be removedr.


setId

public RemoveRay setId(String Id)
Id of the ray to be removed. If Id = "All" all rays will be removedr.


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.