パッケージ org.aiwolf.common.net
クラス GameInfoToSend
java.lang.Object
org.aiwolf.common.net.GameInfoToSend
Game information which send to each player
- 作成者:
- tori
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明int
getAgent()
int
int
呪殺された妖狐のインデックスを返す Returns the agent index of fox killed by curse.int
getDay()
int
昨夜追放されたエージェントを返す Returns the agent executed last night.int
直近の襲撃投票リストを返す Returns the latest list of votes for attack.int
直近の被追放エージェントのインデックスを返す Returns the index of latest executed agent.直近の投票リストを返す Returns the latest list of votes.void
setAgent
(int agent) void
setAttackedAgent
(int attackedAgent) void
setAttackVoteList
(List<VoteToSend> attackVoteList) void
setCursedFox
(int cursedFox) 呪殺された妖狐のインデックスをセットする Sets the agent index of fox killed by curse.void
setDay
(int day) void
setDivineResult
(JudgeToSend divineResult) void
setExecutedAgent
(int executedAgent) 昨夜追放されたエージェントをセットする Sets the agent executed last night.void
setExistingRoleList
(List<String> existingRoleList) void
setGuardedAgent
(int guardedAgent) void
setLastDeadAgentList
(List<Integer> lastDeadAgentList) void
setLatestAttackVoteList
(List<VoteToSend> latestAttackVoteList) 直近の襲撃投票リストをセットする Sets the latest list of votes for attack.void
setLatestExecutedAgent
(int latestExecutedAgent) 直近の被追放エージェントのインデックスをセットする Sets the index of latest executed agent.void
setLatestVoteList
(List<VoteToSend> latestVoteList) 直近の投票リストをセットする Sets the latest list of votes.void
setMediumResult
(JudgeToSend mediumResult) void
setRemainTalkMap
(LinkedHashMap<Integer, Integer> remainTalkMap) void
setRemainWhisperMap
(LinkedHashMap<Integer, Integer> remainWhisperMap) void
setRoleMap
(LinkedHashMap<Integer, String> roleMap) void
setStatusMap
(LinkedHashMap<Integer, String> statusMap) void
setTalkList
(List<TalkToSend> talkList) void
setVoteList
(List<VoteToSend> voteList) void
setWhisperList
(List<TalkToSend> whisperList)
-
コンストラクタの詳細
-
GameInfoToSend
public GameInfoToSend()
-
-
メソッドの詳細
-
getDay
public int getDay()- 戻り値:
- day
-
setDay
public void setDay(int day) - パラメータ:
day
- セットする day
-
getAgent
public int getAgent()- 戻り値:
- agent
-
setAgent
public void setAgent(int agent) - パラメータ:
agent
- セットする agent
-
getMediumResult
- 戻り値:
- mediumResult
-
setMediumResult
- パラメータ:
mediumResult
- セットする mediumResult
-
getDivineResult
- 戻り値:
- divineResult
-
setDivineResult
- パラメータ:
divineResult
- セットする divineResult
-
getExecutedAgent
public int getExecutedAgent()昨夜追放されたエージェントを返すReturns the agent executed last night.- 戻り値:
- 昨夜追放されたエージェントthe agent executed last night.
-
setExecutedAgent
public void setExecutedAgent(int executedAgent) 昨夜追放されたエージェントをセットするSets the agent executed last night.- パラメータ:
executedAgent
- -セットするエージェントthe agent to set"
-
getAttackedAgent
public int getAttackedAgent()- 戻り値:
- attackedAgent
-
setAttackedAgent
public void setAttackedAgent(int attackedAgent) - パラメータ:
attackedAgent
- セットする attackedAgent
-
getGuardedAgent
public int getGuardedAgent()- 戻り値:
- guardedAgent
-
setGuardedAgent
public void setGuardedAgent(int guardedAgent) - パラメータ:
guardedAgent
- セットする guardedAgent
-
getVoteList
- 戻り値:
- voteList
-
setVoteList
- パラメータ:
voteList
- セットする voteList
-
getAttackVoteList
- 戻り値:
- attackVoteList
-
setAttackVoteList
- パラメータ:
attackVoteList
- セットする attackVoteList
-
getTalkList
- 戻り値:
- talkList
-
setTalkList
- パラメータ:
talkList
- セットする talkList
-
getWhisperList
- 戻り値:
- whisperList
-
setWhisperList
- パラメータ:
whisperList
- セットする whisperList
-
getStatusMap
- 戻り値:
- statusMap
-
setStatusMap
- パラメータ:
statusMap
- セットする statusMap
-
getRoleMap
- 戻り値:
- roleMap
-
setRoleMap
- パラメータ:
roleMap
- セットする roleMap
-
getRemainTalkMap
- 戻り値:
- remainTalkMap
-
setRemainTalkMap
- パラメータ:
remainTalkMap
- セットする remainTalkMap
-
getRemainWhisperMap
- 戻り値:
- remainWhisperMap
-
setRemainWhisperMap
- パラメータ:
remainWhisperMap
- セットする remainWhisperMap
-
getLastDeadAgentList
- 戻り値:
- the lastDeadAgentList
-
setLastDeadAgentList
- パラメータ:
lastDeadAgentList
- - the lastDeadAgentList to set
-
getExistingRoleList
- 戻り値:
- existingRoleList
-
setExistingRoleList
- パラメータ:
existingRoleList
- セットする existingRoleList
-
toGameInfo
-
getLatestVoteList
直近の投票リストを返すReturns the latest list of votes.- 戻り値:
- 投票リストを表す
List<VoteToSend>
List<VoteToSend>
representing the list of votes.
-
setLatestVoteList
直近の投票リストをセットするSets the latest list of votes.- パラメータ:
latestVoteList
-投票リストを表すList<VoteToSend>
List<VoteToSend>
representing the list of votes.
-
getLatestAttackVoteList
直近の襲撃投票リストを返すReturns the latest list of votes for attack.- 戻り値:
- 投票リストを表す
List<VoteToSend>
List<VoteToSend>
representing the list of votes.
-
setLatestAttackVoteList
直近の襲撃投票リストをセットするSets the latest list of votes for attack.- パラメータ:
latestAttackVoteList
-投票リストを表すList<VoteToSend>
List<VoteToSend>
representing the list of votes.
-
getLatestExecutedAgent
public int getLatestExecutedAgent()直近の被追放エージェントのインデックスを返すReturns the index of latest executed agent.- 戻り値:
- 被追放エージェントのインデックスを表す
int
int
representing the index of latest executed agent.
-
setLatestExecutedAgent
public void setLatestExecutedAgent(int latestExecutedAgent) 直近の被追放エージェントのインデックスをセットするSets the index of latest executed agent.- パラメータ:
latestExecutedAgent
-被追放エージェントのインデックスを表すint
int
representing the index of latest executed agent.
-
getCursedFox
public int getCursedFox()呪殺された妖狐のインデックスを返すReturns the agent index of fox killed by curse.- 戻り値:
- 呪殺された妖狐のインデックスを表す
int
int
representing the agent index of fox killed by curse.
-
setCursedFox
public void setCursedFox(int cursedFox) 呪殺された妖狐のインデックスをセットするSets the agent index of fox killed by curse.- パラメータ:
cursedFox
-呪殺された妖狐のインデックスを表すint
int
representing the agent index of fox killed by curse.
-