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()
Called when the game finished.
|
java.lang.String |
getName()
get player name
|
Agent |
guard()
Decide agent to guard by BodyGuard
|
void |
initialize(GameInfo gameInfo,
GameSetting gameSetting)
Called when the game started
|
java.lang.String |
talk()
Each player can talk thier opinions throw this method
Return texts must be written in aiwolf protocol. |
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(GameInfo gameInfo, GameSetting gameSetting)
gameInfo
- information about current game statusgameSetting
- Game settingsvoid dayStart()
java.lang.String talk()
java.lang.String whisper()
Agent vote()
Agent attack()
Agent divine()
Agent guard()
void finish()