パッケージ org.aiwolf.common.net

クラス GameInfoToSend

java.lang.Object
org.aiwolf.common.net.GameInfoToSend

public class GameInfoToSend extends Object
Game information which send to each player
作成者:
tori
  • コンストラクタの詳細

    • 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

      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 List<VoteToSend> getVoteList()
      戻り値:
      voteList
    • setVoteList

      public void setVoteList(List<VoteToSend> voteList)
      パラメータ:
      voteList - セットする voteList
    • getAttackVoteList

      public List<VoteToSend> getAttackVoteList()
      戻り値:
      attackVoteList
    • setAttackVoteList

      public void setAttackVoteList(List<VoteToSend> attackVoteList)
      パラメータ:
      attackVoteList - セットする attackVoteList
    • getTalkList

      public List<TalkToSend> getTalkList()
      戻り値:
      talkList
    • setTalkList

      public void setTalkList(List<TalkToSend> talkList)
      パラメータ:
      talkList - セットする talkList
    • getWhisperList

      public List<TalkToSend> getWhisperList()
      戻り値:
      whisperList
    • setWhisperList

      public void setWhisperList(List<TalkToSend> whisperList)
      パラメータ:
      whisperList - セットする whisperList
    • getStatusMap

      public Map<Integer,String> getStatusMap()
      戻り値:
      statusMap
    • setStatusMap

      public void setStatusMap(LinkedHashMap<Integer,String> statusMap)
      パラメータ:
      statusMap - セットする statusMap
    • getRoleMap

      public Map<Integer,String> getRoleMap()
      戻り値:
      roleMap
    • setRoleMap

      public void setRoleMap(LinkedHashMap<Integer,String> roleMap)
      パラメータ:
      roleMap - セットする roleMap
    • getRemainTalkMap

      public Map<Integer,Integer> getRemainTalkMap()
      戻り値:
      remainTalkMap
    • setRemainTalkMap

      public void setRemainTalkMap(LinkedHashMap<Integer,Integer> remainTalkMap)
      パラメータ:
      remainTalkMap - セットする remainTalkMap
    • getRemainWhisperMap

      public LinkedHashMap<Integer,Integer> getRemainWhisperMap()
      戻り値:
      remainWhisperMap
    • setRemainWhisperMap

      public void setRemainWhisperMap(LinkedHashMap<Integer,Integer> remainWhisperMap)
      パラメータ:
      remainWhisperMap - セットする remainWhisperMap
    • getLastDeadAgentList

      public List<Integer> getLastDeadAgentList()
      戻り値:
      the lastDeadAgentList
    • setLastDeadAgentList

      public void setLastDeadAgentList(List<Integer> lastDeadAgentList)
      パラメータ:
      lastDeadAgentList - - the lastDeadAgentList to set
    • getExistingRoleList

      public List<String> getExistingRoleList()
      戻り値:
      existingRoleList
    • setExistingRoleList

      public void setExistingRoleList(List<String> existingRoleList)
      パラメータ:
      existingRoleList - セットする existingRoleList
    • toGameInfo

      public GameInfo toGameInfo()
    • getLatestVoteList

      public List<VoteToSend> getLatestVoteList()
      直近の投票リストを返す
      Returns the latest list of votes.
      戻り値:
      投票リストを表すList<VoteToSend>
      List<VoteToSend> representing the list of votes.
    • setLatestVoteList

      public void setLatestVoteList(List<VoteToSend> latestVoteList)
      直近の投票リストをセットする
      Sets the latest list of votes.
      パラメータ:
      latestVoteList -
      投票リストを表すList<VoteToSend>
      List<VoteToSend> representing the list of votes.
    • getLatestAttackVoteList

      public List<VoteToSend> getLatestAttackVoteList()
      直近の襲撃投票リストを返す
      Returns the latest list of votes for attack.
      戻り値:
      投票リストを表すList<VoteToSend>
      List<VoteToSend> representing the list of votes.
    • setLatestAttackVoteList

      public void setLatestAttackVoteList(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.