public interface Player
修飾子とタイプ | メソッドと説明 |
---|---|
Agent |
attack()
Decide agent who to be attacked by wolves
|
void |
dayStart()
Called when the day started
|
Agent |
divine()
Decide agent to divine by Seer
|
void |
finish()
Finalize
|
java.lang.String |
getName()
get player name
|
Agent |
guard()
Decide agent to guard by BodyGuard
|
void |
initialize()
initialize
|
java.lang.String |
talk()
Each player can talk thier opinions throw this method
|
void |
update(GameInfo gameInfo)
Called when the game information updated
|
Agent |
vote()
ExecuteVote agent to execute
|
java.lang.String |
whisper()
Each wolves can talk thier opinions throw this method
|
java.lang.String getName()
void update(GameInfo gameInfo)
void initialize()
void dayStart()
java.lang.String talk()
java.lang.String whisper()
Agent vote()
Agent attack()
Agent divine()
Agent guard()
void finish()