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

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

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

This command is used to send a command to a sensor or effecter. Corresponding GameBots command is SET.


Field Summary
protected  String Name
           
protected  String Opcode
           
protected  String Params
           
protected  String Type
           
 
Constructor Summary
SetSensorEffecter()
          WARNING: this is empty-command constructor, you have to use Setters to fill it up!
SetSensorEffecter(SetSensorEffecter original)
          Cloning constructor.
SetSensorEffecter(String Type, String Name, String Opcode, String param)
           
 
Method Summary
 String getName()
           
 String getOpcode()
           
 String getParam1()
           
 String getType()
           
 SetSensorEffecter setName(String Name)
           
 SetSensorEffecter setOpcode(String Opcode)
           
 SetSensorEffecter setParams(String Params)
           
 SetSensorEffecter setType(String Type)
           
 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

Type

protected String Type

Name

protected String Name

Opcode

protected String Opcode

Params

protected String Params
Constructor Detail

SetSensorEffecter

public SetSensorEffecter(String Type,
                         String Name,
                         String Opcode,
                         String param)

SetSensorEffecter

public SetSensorEffecter()

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


SetSensorEffecter

public SetSensorEffecter(SetSensorEffecter original)
Cloning constructor.

Method Detail

getType

public String getType()

setType

public SetSensorEffecter setType(String Type)

getName

public String getName()

setName

public SetSensorEffecter setName(String Name)

getOpcode

public String getOpcode()

setOpcode

public SetSensorEffecter setOpcode(String Opcode)

getParam1

public String getParam1()

setParams

public SetSensorEffecter setParams(String Params)

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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.