|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectexperimental.SimpleMoveReciever
public final class SimpleMoveReciever
An UntriedMoveReceiver that executes moves on the world object passed to its constructor.
| Field Summary | |
|---|---|
private World |
w
|
| Constructor Summary | |
|---|---|
SimpleMoveReciever(World w)
|
|
| Method Summary | |
|---|---|
void |
processMove(Move move)
|
void |
processPreMove(PreMove pm)
|
MoveStatus |
tryDoMove(Move move)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final World w
| Constructor Detail |
|---|
public SimpleMoveReciever(World w)
| Method Detail |
|---|
public MoveStatus tryDoMove(Move move)
tryDoMove in interface UntriedMoveReceiverpublic void processMove(Move move)
processMove in interface MoveReceiverpublic void processPreMove(PreMove pm)
processPreMove in interface UntriedMoveReceiver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||