VASSAL.command
Interface CommandEncoder

All Known Implementing Classes:
BasicCommandEncoder, BoardPicker, Chatter, EventLog, ExtensionsLoader, GameModule, InternetDiceButton, NotesWindow, ObscurableOptions, PlayerRoster, PrivateNotesController, SecretNotesController, SetupStack, SpecialDiceButton

public interface CommandEncoder

Translates a Command to and from a string Although Commands can be linked into compound commands, each CommandEncoder need only handle single (not compound) commands


Method Summary
 Command decode(java.lang.String command)
          Translate a String into a Command
 java.lang.String encode(Command c)
          Translate a Command into a String
 

Method Detail

decode

public Command decode(java.lang.String command)
Translate a String into a Command

encode

public java.lang.String encode(Command c)
Translate a Command into a String