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

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

public class Kick
extends CommandMessage

Will kick GameBots Bot from the server. Corresponding GameBots command is KICK.


Field Summary
protected  UnrealId Id
          Id of the bot to be kicked.
 
Constructor Summary
Kick()
          Creates new instance of command Kick.
Kick(Kick original)
          Cloning constructor.
Kick(UnrealId Id)
          Creates new instance of command Kick.
 
Method Summary
 UnrealId getId()
          Id of the bot to be kicked.
 Kick setId(UnrealId Id)
          Id of the bot to be kicked.
 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 UnrealId Id
Id of the bot to be kicked.

Constructor Detail

Kick

public Kick(UnrealId Id)
Creates new instance of command Kick. Will kick GameBots Bot from the server. Corresponding GameBots message for this command is KICK.

Parameters:
Id - Id of the bot to be kicked.

Kick

public Kick()
Creates new instance of command Kick. Will kick GameBots Bot from the server. Corresponding GameBots message for this command is KICK.

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


Kick

public Kick(Kick original)
Cloning constructor.

Method Detail

getId

public UnrealId getId()
Id of the bot to be kicked.


setId

public Kick setId(UnrealId Id)
Id of the bot to be kicked.


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.