|
||||||||||
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 |
Player |
player
the player that should calculate its move |
M_PlayerHandler.PlayerInfo |
playerInfo
the information the player needs for his moove |
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 | |
---|---|
M_PlayerHandler.PlayerRun(Player player,
M_PlayerHandler.PlayerInfo playerInfo)
create Constructor |
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Player player
public final M_PlayerHandler.PlayerInfo playerInfo
public boolean calculationFinished
public boolean threwException
public java.lang.Throwable thrownException
Constructor Detail |
---|
public M_PlayerHandler.PlayerRun(Player player, M_PlayerHandler.PlayerInfo playerInfo)
player
- playerInfo
- Method Detail |
---|
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 |