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

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

public class GetItemCategory
extends CommandMessage

Request to export item category by ITC message. Will respond with ITC message. Corresponding GameBots command is GETITC.


Field Summary
protected  String Type
          Class of the item we want to export ITC message for.
 
Constructor Summary
GetItemCategory()
          Creates new instance of command GetItemCategory.
GetItemCategory(GetItemCategory original)
          Cloning constructor.
GetItemCategory(String Type)
          Creates new instance of command GetItemCategory.
 
Method Summary
 String getType()
          Class of the item we want to export ITC message for.
 GetItemCategory setType(String Type)
          Class of the item we want to export ITC message for.
 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
Class of the item we want to export ITC message for. Must be pickup class (e.g. LinkGun.WeaponPickup).

Constructor Detail

GetItemCategory

public GetItemCategory(String Type)
Creates new instance of command GetItemCategory. Request to export item category by ITC message. Will respond with ITC message. Corresponding GameBots message for this command is GETITC.

Parameters:
Type - Class of the item we want to export ITC message for. Must be pickup class (e.g. LinkGun.WeaponPickup).

GetItemCategory

public GetItemCategory()
Creates new instance of command GetItemCategory. Request to export item category by ITC message. Will respond with ITC message. Corresponding GameBots message for this command is GETITC.

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


GetItemCategory

public GetItemCategory(GetItemCategory original)
Cloning constructor.

Method Detail

getType

public String getType()
Class of the item we want to export ITC message for. Must be pickup class (e.g. LinkGun.WeaponPickup).


setType

public GetItemCategory setType(String Type)
Class of the item we want to export ITC message for. Must be pickup class (e.g. LinkGun.WeaponPickup).


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.