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