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

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

public class Record
extends CommandMessage

Server will start recording demo of current game. Command is confirmed by RECSTART message. Corresponding GameBots command is REC.


Field Summary
protected  String FileName
          Name of the saved demo file.
 
Constructor Summary
Record()
          Creates new instance of command Record.
Record(Record original)
          Cloning constructor.
Record(String FileName)
          Creates new instance of command Record.
 
Method Summary
 String getFileName()
          Name of the saved demo file.
 Record setFileName(String FileName)
          Name of the saved demo file.
 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

FileName

protected String FileName
Name of the saved demo file. The file will be located on the server.

Constructor Detail

Record

public Record(String FileName)
Creates new instance of command Record. Server will start recording demo of current game. Command is confirmed by RECSTART message. Corresponding GameBots message for this command is REC.

Parameters:
FileName - Name of the saved demo file. The file will be located on the server.

Record

public Record()
Creates new instance of command Record. Server will start recording demo of current game. Command is confirmed by RECSTART message. Corresponding GameBots message for this command is REC.

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


Record

public Record(Record original)
Cloning constructor.

Method Detail

getFileName

public String getFileName()
Name of the saved demo file. The file will be located on the server.


setFileName

public Record setFileName(String FileName)
Name of the saved demo file. The file will be located on the server.


toString

public String toString()
Overrides:
toString in class CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.