パッケージ org.aiwolf.common.data
クラス Vote
- java.lang.Object
-
- org.aiwolf.common.data.Vote
-
public class Vote extends java.lang.Object
投票情報です。
いつ(何日に)誰が誰に投票したかを情報として持ちます。Information of vote.
It has information about day, agent,and target.- 作成者:
- tori
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 Agent
getAgent()
投票するエージェントを返します。int
getDay()
投票する日を返します。Agent
getTarget()
投票の対象となるエージェントを返します。java.lang.String
toString()
-
-
-
メソッドの詳細
-
getDay
public int getDay()
投票する日を返します。Get the day.- 戻り値:
- 投票する日Day
-
getAgent
public Agent getAgent()
投票するエージェントを返します。Get the agent.- 戻り値:
- 投票するエージェントAgent
-
getTarget
public Agent getTarget()
投票の対象となるエージェントを返します。Get the target.- 戻り値:
- 投票の対象となるエージェントTarget
-
toString
public java.lang.String toString()
- オーバーライド:
toString
クラス内java.lang.Object
-
-