public class AdditionalGameInfo
extends java.lang.Object
コンストラクタと説明 |
---|
AdditionalGameInfo(GameInfo gameInfo)
GameInfoに基づいて AdditionalGameInfo を構築する
Constructs
AdditionalGameInfo based on GameInfo. |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addDivination(Judge judge)
占い結果リストに新しい占い結果を追加する
Add a new divination to the list of divinations.
|
void |
addExecutedAgent(Agent executedAgent)
エージェントが,追放されたエージェントのリストに無かった場合は追加する。
|
void |
addInquestList(Judge judge)
霊媒結果リストに新しい霊媒結果を追加する
Add a new inquest to the list of inquests.
|
void |
addKilledAgent(Agent killedAgent)
エージェントが,殺された(襲撃,呪殺,ただし追放は含まない)エージェントのリストに無かった場合追加する。
|
void |
addWhisperedDivination(Judge judge)
占い結果(囁き)リストに新しい占い結果(囁き)を追加する
Add a new whispered divination to the list of whispered divinations.
|
void |
addWhisperedInquestList(Judge judge)
霊媒結果(囁き)リストに新しい霊媒結果(囁き)を追加する
Add a new whispered inquest to the list of whispered inquests.
|
java.util.List<Agent> |
getAliveOthers()
自分以外の生存者を返す
Returns the alive agents except me.
|
Counter<Agent> |
getAttackVoteCounter()
襲撃投票宣言カウンタを返す
Returns the counter of the declaration of vote for attack.
|
java.util.Map<Agent,Agent> |
getAttackVoteMap()
襲撃投票宣言マップを返す
Returns the map of the declaration of vote for attack.
|
java.util.Map<Agent,Role> |
getComingoutMap()
カミングアウト状況を返す
Returns the situation of comingouts.
|
java.util.List<Agent> |
getDeadOthers()
自分以外の死者を返す
Returns the dead agents except me.
|
java.util.List<Judge> |
getDivinationList()
占い結果リストを返す
Returns the list of divinations.
|
java.util.Map<Agent,java.util.List<Talk>> |
getEstimateMap()
推測状況マップを返す
Returns the situation of estimate.
|
java.util.List<Agent> |
getExecutedAgentList()
追放されたエージェントのリストを返す
Returns the list of executed agents.
|
java.util.List<Judge> |
getInquestList()
霊媒結果リストを返す
Returns the list of inquests.
|
java.util.Map<Agent,java.util.List<Judge>> |
getJudgeMap()
判定状況マップを返す
Returns the situation of judgment.
|
java.util.List<Agent> |
getKilledAgentList()
殺された(襲撃,呪殺,ただし追放は含まない)エージェントのリストを返す
Returns the list of killed agents.
|
Agent |
getMe()
自分自身を返す
Returns myself.
|
Role |
getMyRole()
自分の役職を返す
Returns my role.
|
Counter<Agent> |
getVoteCounter()
投票宣言カウンタを返す
Returns the counter of the declaration of vote.
|
java.util.Map<Agent,Agent> |
getVoteMap()
投票宣言マップを返す
Returns the map of the declaration of vote.
|
java.util.Map<Agent,Role> |
getWhisperedComingoutMap()
カミングアウト(囁き)状況を返す
Returns the situation of whispered comingouts.
|
java.util.List<Judge> |
getWhisperedDivinationList()
占い結果(囁き)リストを返す
Returns the list of whispered divinations.
|
java.util.Map<Agent,java.util.List<Talk>> |
getWhisperedEstimateMap()
推測(囁き)状況マップを返す
Returns the situation of whispered estimate.
|
java.util.List<Judge> |
getWhisperedInquestList()
霊媒結果(囁き)リストを返す
Returns the list of whispered inquests.
|
java.util.Map<Agent,java.util.List<Judge>> |
getWhisperedJudgeMap()
判定(囁き)状況マップを返す
Returns the situation of whispered judgment.
|
Counter<Agent> |
getWhisperedVoteCounter()
投票宣言(囁き)カウンタを返す
Returns the counter of the whispered declaration of vote.
|
java.util.Map<Agent,Agent> |
getWhisperedVoteMap()
投票宣言(囁き)マップを返す
Returns the map of the whispered declaration of vote.
|
void |
putComingoutMap(Agent agent,
Role role)
新たなカミングアウトをカミングアウト状況に登録する
Registers a new comingout on the comingout map.
|
void |
putEstimateMap(Talk talk)
新たな推測発言を推測状況マップに登録する
Registers a new estimating talk on the estimate map.
|
void |
putJudgeMap(Judge judge)
新たな判定を判定状況マップに登録する
Registers a new judgment on the judgment map.
|
void |
putWhisperedComingoutMap(Agent agent,
Role role)
新たなカミングアウト(囁き)をカミングアウト(囁き)状況に登録する
Registers a new whispered comingout on the whiepered comingout map.
|
void |
putWhisperedEstimateMap(Talk talk)
新たな推測(囁き)発言を推測(囁き)状況マップに登録する
Registers a new estimating whisper on the whispered estimate map.
|
void |
putWhisperedJudgeMap(Judge judge)
新たな判定(囁き)を判定(囁き)状況マップに登録する
Registers a new whispered judgment on the whispered judgment map.
|
void |
update(GameInfo gameInfo)
追加ゲーム情報を更新する
Updates the additional game information.
|
public AdditionalGameInfo(GameInfo gameInfo)
AdditionalGameInfo
を構築するAdditionalGameInfo
based on GameInfo.public Agent getMe()
Agent
Agent
representing myself.public Role getMyRole()
Role
Role
representing my role.public java.util.List<Agent> getAliveOthers()
List<Agent>
List<Agent>
representing the list of alive agents.public java.util.List<Agent> getDeadOthers()
List<Agent>
List<Agent>
representing the list of dead agents.public java.util.List<Agent> getExecutedAgentList()
List<Agent>
List<Agent>
representing the list of executed agents.public void addExecutedAgent(Agent executedAgent)
executedAgent
- Agent
Agent
representing the agent to be added to the list.public java.util.List<Agent> getKilledAgentList()
List<Agent>
List<Agent>
representing the list of killed agents.public void addKilledAgent(Agent killedAgent)
killedAgentList
- Agent
Agent
representing the agent to be added to the list.public java.util.Map<Agent,Role> getComingoutMap()
Map<Agent, Role>
Map<Agent, Role>
representing the situation of comingouts.public void putComingoutMap(Agent agent, Role role)
agent
- Agent
Agent
representing the player who did this comingout.role
- Role
Role
representing the role this comingout claims.public java.util.Map<Agent,Role> getWhisperedComingoutMap()
Map<Agent, Role>
Map<Agent, Role>
representing the situation of whispered comingouts.public void putWhisperedComingoutMap(Agent agent, Role role)
agent
- Agent
Agent
representing the player who did this comingout.role
- Role
Role
representing the role this comingout claims.public java.util.Map<Agent,java.util.List<Judge>> getJudgeMap()
Map<Agent, List<Judge>>
Map<Agent, List<Judge>>
representing the situation of judgment.public void putJudgeMap(Judge judge)
judge
- Judge
Judge
representing the judgment.public java.util.Map<Agent,java.util.List<Judge>> getWhisperedJudgeMap()
Map<Agent, List<Judge>>
Map<Agent, List<Judge>>
representing the situation of whispered judgment.public void putWhisperedJudgeMap(Judge judge)
judge
- Judge
Judge
representing the whispered judgment.public java.util.Map<Agent,java.util.List<Talk>> getEstimateMap()
Map<Agent, List<Talk>>
Map<Agent, List<Talk>>
representing the situation of estimate.public void putEstimateMap(Talk talk)
content
- Talk
Talk
representing the estimating talk.public java.util.Map<Agent,java.util.List<Talk>> getWhisperedEstimateMap()
Map<Agent, List<Talk>>
Map<Agent, List<Talk>>
representing the situation of whispered estimate.public void putWhisperedEstimateMap(Talk talk)
content
- Talk
Talk
representing the estimating whisper.public java.util.List<Judge> getDivinationList()
List<Judge>
List<Judge>
representing the list of divinations.public void addDivination(Judge judge)
judge
- Judge
Judge
representing the divination to be added.public java.util.List<Judge> getWhisperedDivinationList()
List<Judge>
List<Judge>
representing the list of whispered divinations.public void addWhisperedDivination(Judge judge)
judge
- Judge
Judge
representing the whispered divination to be added.public java.util.List<Judge> getInquestList()
List<Judge>
List<Judge>
representing the list of inquests.public void addInquestList(Judge judge)
judge
- Judge
Judge
representing the inquest to be added.public java.util.List<Judge> getWhisperedInquestList()
List<Judge>
List<Judge>
representing the list of whispered inquests.public void addWhisperedInquestList(Judge judge)
judge
- Judge
Judge
representing the whispered inquest to be added.public java.util.Map<Agent,Agent> getVoteMap()
Map<Agent, Agent>
Map<Agent, Agent>
representing the map of the declaration of vote.public Counter<Agent> getVoteCounter()
Counter<Agent>
Counter<Agent>
representing the counter of the declaration of vote.public java.util.Map<Agent,Agent> getWhisperedVoteMap()
Map<Agent, Agent>
Map<Agent, Agent>
representing the map of the whispered declaration of vote.public Counter<Agent> getWhisperedVoteCounter()
Counter<Agent>
Counter<Agent>
representing the counter of the whispered declaration of vote.public java.util.Map<Agent,Agent> getAttackVoteMap()
Map<Agent, Agent>
Map<Agent, Agent>
representing the map of the declaration of vote for attack.public Counter<Agent> getAttackVoteCounter()
Counter<Agent>
Counter<Agent>
representing the counter of the declaration of vote for attack.public void update(GameInfo gameInfo)
gameInfo
- GameInfo
GameInfo
representing the game information.