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

クラス GameInfoToSend


  • public class GameInfoToSend
    extends java.lang.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 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.