public class PuzzleAgent extends java.lang.Object implements IPuzzleService
| Constructor and Description |
|---|
PuzzleAgent() |
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.lang.Void> |
moved(int x,
int y)
Announce that a move has been made.
|
jadex.commons.future.IFuture<java.lang.Void> |
newGame(int size)
Announce that a new game has started.
|
jadex.commons.future.IFuture<java.lang.Void> |
takenBack()
Announce that the last move has been taken back.
|
public jadex.commons.future.IFuture<java.lang.Void> newGame(int size)
newGame in interface IPuzzleServicepublic jadex.commons.future.IFuture<java.lang.Void> moved(int x,
int y)
moved in interface IPuzzleServicepublic jadex.commons.future.IFuture<java.lang.Void> takenBack()
takenBack in interface IPuzzleService