cz.cuni.amis.pogamut.defcon.communication.messages.commands
Class DefConCommand

Package class diagram package DefConCommand
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.defcon.communication.messages.commands.DefConCommand
Direct Known Subclasses:
PlaceFleet, PlaceStructure, RequestAlliance, RequestCeaseFire, RequestGameSpeed, RequestShareRadar, SendChatMessage, SendVote, SetActionTarget, SetLandingTarget, SetMovementTarget, SetState, WhiteboardClear, WhiteboardDraw

public abstract class DefConCommand
extends CommandMessage

Command message for arbitrary world that is run in the same JVM.

Author:
Jimmy

Constructor Summary
DefConCommand()
           
 
Method Summary
 String getStringizedFields()
          DOCUMENT ME!
abstract  void perform()
          Contains the call of particular JBot method.
 String toMessage()
          Alias for toString()
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefConCommand

public DefConCommand()
Method Detail

perform

public abstract void perform()
Contains the call of particular JBot method.


toMessage

public String toMessage()
Alias for toString()

Returns:

getStringizedFields

public String getStringizedFields()
DOCUMENT ME!

Returns:
DOCUMENT ME!


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