パッケージ org.aiwolf.common.net
クラス GameInfo
java.lang.Object
org.aiwolf.common.net.GameInfo
各プレイヤーに送信されるゲーム情報です。
Game information which send to each player.
- 作成者:
- tori
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明getAgent()
自分自身のエージェントを返します。ゲームに参加しているエージェントのリストを返します。生きているエージェントを返します。昨夜実際に襲撃されたエージェントを返します。襲撃投票のリストを返します。呪殺された妖狐を返す Returns the fox killed by curse.int
getDay()
何日かを返します。占い結果を返します。昨夜追放されたエージェントを返します。存在するRoleを返す Returns the roles that existing in this game.昨夜に護衛されたエージェントを返します。昨夜死亡したエージェントのリストを返します。直近の襲撃投票リストを返す Returns the latest list of votes for attack.直近の被追放エージェントを返す Returns the latest executed agent.直近の投票リストを返す Returns the latest list of votes.霊媒結果を返します。getRole()
プレイヤーの役職を返します。分かっているエージェントの役職を返します。すべてのエージェントの状態を返します。今日の会話を返します。投票のリストを返します。今日のささやきを返します。
-
コンストラクタの詳細
-
GameInfo
public GameInfo()新しいゲーム情報を構築します。Create new game infomation.
-
-
メソッドの詳細
-
getDay
public int getDay()何日かを返します。Get the day.- 戻り値:
- このゲーム情報の日付Day
-
getRole
プレイヤーの役職を返します。Get player's role.- 戻り値:
- プレイヤーの役職Role
-
getAgent
自分自身のエージェントを返します。Get yourself.- 戻り値:
- 自分自身のエージェントAgent, yourself
-
getAgentList
ゲームに参加しているエージェントのリストを返します。Get agents.- 戻り値:
- エージェントのリストAgents list
-
getMediumResult
霊媒結果を返します。霊媒師のみが確認できます。Result of medium. Medium only.- 戻り値:
- 霊媒結果Result of medium
-
getDivineResult
占い結果を返します。占い師のみが確認できます。Result of the divine. Seer only.- 戻り値:
- 占い結果Result of the divine
-
getExecutedAgent
昨夜追放されたエージェントを返します。Get the agent who executed last night.- 戻り値:
- 昨夜追放されたエージェントthe agent who executed last night
-
getAttackedAgent
昨夜実際に襲撃されたエージェントを返します。人狼以外には知らされません。Returns the agent actually attacked last night.- 戻り値:
- 昨夜実際に襲撃されたエージェントthe agent actually attacked last night
-
getGuardedAgent
昨夜に護衛されたエージェントを返します。Get the agent who guarded last night.- 戻り値:
- 昨夜に護衛されたエージェントAgent who guarded last night
-
getVoteList
投票のリストを返します。 このリストから、誰が誰に投票したかを見ることができます。Get the vote list. You can find who vote to who.- 戻り値:
- 投票のリストVote list
-
getAttackVoteList
襲撃投票のリストを返します。人狼のみが確認できます。Attack vote list. Werewolf only.- 戻り値:
- 襲撃投票のリストAttack vote list
-
getTalkList
今日の会話を返します。Get today's talks.- 戻り値:
- 今日の会話Today's talks
-
getWhisperList
今日のささやきを返します。人狼のみが確認できます。Get today's whispers. Werewolf only.- 戻り値:
- 今日のささやきToday's whispers
-
getAliveAgentList
生きているエージェントを返します。Get agents who are aliving now.- 戻り値:
- 生きているエージェントAlive agents
-
getStatusMap
すべてのエージェントの状態を返します。Get statuses of all agents.- 戻り値:
- すべてのエージェントの状態Statuses of all agents
-
getRoleMap
分かっているエージェントの役職を返します。
プレイヤーが人間の場合は、 自分自身のエージェントのみを返します。 プレイヤーが人狼の場合は、 自分と他の人狼のエージェントを返します。Get known roles of agents.
if you are human, you know only yourself. if you werewolf, you know other werewolves.- 戻り値:
- 人間ならば自分自身を、 そうでない場合は自分と他の人狼エージェントKnown roles of agents
-
getLastDeadAgentList
昨夜死亡したエージェントのリストを返します。Returns the list of the agents died last night.- 戻り値:
- 昨夜死亡したエージェントのリストthe list of the agents died last night
-
getExistingRoles
存在するRoleを返すReturns the roles that existing in this game.- 戻り値:
- 存在するRoleのリストthe list of the roles
-
getRemainTalkMap
- 戻り値:
- remainTalkMap
-
getRemainWhisperMap
- 戻り値:
- remainWhisperMap
-
getLatestVoteList
直近の投票リストを返すReturns the latest list of votes.- 戻り値:
- 投票リストを表す
List<Vote>
List<Vote>
representing the list of votes.
-
getLatestAttackVoteList
直近の襲撃投票リストを返すReturns the latest list of votes for attack.- 戻り値:
- 投票リストを表す
List<Vote>
List<Vote>
representing the list of votes.
-
getLatestExecutedAgent
直近の被追放エージェントを返すReturns the latest executed agent.- 戻り値:
- 被追放エージェントを表す
Agent
Agent
representing the latest executed agent.
-
getCursedFox
呪殺された妖狐を返すReturns the fox killed by curse.- 戻り値:
- 呪殺された妖狐を表す
Agent
Agent
representing the fox killed by curse.
-