Ejemplo n.º 1
0
        /// <summary>
        /// Talk、Whisperを追加登録する
        /// </summary>
        /// <param name="gameInfo"></param>
        private void ApendTalkList(GameInfo gameInfo)
        {
            LatestTalkList.Clear();

            for (int i = TalkList.Count; i < gameInfo.TalkList.Count; i++)
            {
                ExtTalk newTalk = new ExtTalk(gameInfo.TalkList[i]);
                TalkList.Add(newTalk);
                LatestTalkList.Add(newTalk);
            }

            for (int i = WhisperList.Count; i < gameInfo.WhisperList.Count; i++)
            {
                WhisperList.Add(new ExtTalk(gameInfo.WhisperList[i]));
            }

            // 発言で宣言した投票先を取得
            SaidVote = new VoteAnalyzer(DayTimeAliveAgent, TalkList, Topic.VOTE);
        }
Ejemplo n.º 2
0
 public void AddWhisper(Agent agent, Talk whisper)
 {
     WhisperList.Add(whisper);
 }