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

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

public class Console
extends CommandMessage

You can run all console command by this. Corresponding GameBots command is CONSOLE.


Field Summary
protected  String Command
          The actual console command.
 
Constructor Summary
Console()
          Creates new instance of command Console.
Console(Console original)
          Cloning constructor.
Console(String Command)
          Creates new instance of command Console.
 
Method Summary
 String getCommand()
          The actual console command.
 Console setCommand(String Command)
          The actual console command.
 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

Command

protected String Command
The actual console command.

Constructor Detail

Console

public Console(String Command)
Creates new instance of command Console. You can run all console command by this. Corresponding GameBots message for this command is CONSOLE.

Parameters:
Command - The actual console command.

Console

public Console()
Creates new instance of command Console. You can run all console command by this. Corresponding GameBots message for this command is CONSOLE.

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


Console

public Console(Console original)
Cloning constructor.

Method Detail

getCommand

public String getCommand()
The actual console command.


setCommand

public Console setCommand(String Command)
The actual console command.


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.