public interface GameCommandInterpreter
Modifier and Type | Method and Description |
---|---|
void |
interpretCommand(Object command)
A generic method which can be used to interpret an incoming command from
the client.
|
void interpretCommand(Object command) throws InvalidCommandException
command
- Should mostly be of type GameEvent
, but flexibility
is provided to user to send in anything to the interpreter.InvalidCommandException
Copyright © 2013. All Rights Reserved.