|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.farafin.snEADy.M_PlayerHandler.PlayerRun
private class M_PlayerHandler.PlayerRun
realize the player handling TODO roland: make it more effective: dont need to make a new insrtance every time!!
Field Summary | |
---|---|
boolean |
calculationFinished
is set true after the player has finished his calculation |
protected Player |
runningPlayer
the player that should calculate its move |
boolean |
threwException
if the player threw an exception, its noticed and the player is deleted |
java.lang.Throwable |
thrownException
if the player threw an exception, it is stored here fore logging. |
Constructor Summary | |
---|---|
private |
M_PlayerHandler.PlayerRun()
|
Method Summary | |
---|---|
void |
renew(Player player)
|
void |
run()
|
protected void |
runAgain()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Player runningPlayer
public boolean calculationFinished
public boolean threwException
public java.lang.Throwable thrownException
Constructor Detail |
---|
private M_PlayerHandler.PlayerRun()
Method Detail |
---|
public final void renew(Player player)
protected void runAgain()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |