public class KajiWereWolfPlayer extends AbstractKajiWolfSideAgent
コンストラクタと説明 |
---|
KajiWereWolfPlayer() |
修飾子とタイプ | メソッドと説明 |
---|---|
Agent |
attack()
Decide agent who to be attacked by wolves
|
void |
dayStart()
Called when the day started
|
void |
divinedTalkDealing(Talk talk,
Utterance utterance)
占い結果の発話の処理
|
void |
initialize(GameInfo gameInfo,
GameSetting gameSetting)
Called when the game started
|
void |
inquestedTalkDealing(Talk talk,
Utterance utterance)
霊能結果の発話の処理
|
protected void |
setFakeDivineJudge()
2日目以降のdayStartで呼ばれる
偽占い結果を作る
|
protected void |
setFakeInquestJudge(Agent executedAgent)
処刑されたプレイヤーがいた時に呼ばれる
偽霊能結果を作る
|
void |
setVoteTarget()
今日投票予定のプレイヤーを決定する
updateとdayStartの最後によばれる
|
void |
update(GameInfo gameInfo)
Called when the game information updated
|
java.lang.String |
whisper()
Each wolves can talk thier opinions throw this method
|
comingoutTalkDealing, getBlackJudgeNum, getComingoutText, getJudgeText
getHypotheticalPatterns, isJudged
divine, finish, getMaxDoubleValueKey, getMaxIntValueKey, getMinDoubleValueKey, getMinIntValueKey, getRiskValue, getRoleProbabilitys, guard, setVoteTargetTemplate, talk, vote, voteTalkDealing
getDay, getGameInfo, getGameInfoMap, getGameSetting, getLatestDayGameInfo, getMe, getMyRole, getName, setAgent
public void initialize(GameInfo gameInfo, GameSetting gameSetting)
Player
initialize
インタフェース内 Player
initialize
クラス内 AbstractKajiWolfSideAgent
gameInfo
- information about current game statusgameSetting
- Game settingspublic void update(GameInfo gameInfo)
Player
update
インタフェース内 Player
update
クラス内 AbstractKajiBasePlayer
public void dayStart()
Player
dayStart
インタフェース内 Player
dayStart
クラス内 AbstractKajiWolfSideAgent
public java.lang.String whisper()
Player
whisper
インタフェース内 Player
whisper
クラス内 AbstractKajiBasePlayer
public void divinedTalkDealing(Talk talk, Utterance utterance)
AbstractKajiBasePlayer
divinedTalkDealing
クラス内 AbstractKajiWolfSideAgent
public void inquestedTalkDealing(Talk talk, Utterance utterance)
AbstractKajiBasePlayer
inquestedTalkDealing
クラス内 AbstractKajiWolfSideAgent
public Agent attack()
Player
attack
インタフェース内 Player
attack
クラス内 AbstractKajiBasePlayer
protected void setFakeDivineJudge()
AbstractKajiWolfSideAgent
protected void setFakeInquestJudge(Agent executedAgent)
AbstractKajiWolfSideAgent
public void setVoteTarget()
AbstractKajiBasePlayer
setVoteTarget
クラス内 AbstractKajiBasePlayer