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

クラス Judge

java.lang.Object
org.aiwolf.common.data.Judge

public class Judge extends Object
占い師の占い結果や霊媒師の霊媒結果の情報です。 いつ(何日に)誰が誰を占い(霊媒し)、その結果が何の種族だったかを情報として持ちます。
Information of divine by seer. Also, information of medium result.
作成者:
tori
  • コンストラクタの概要

    コンストラクタ
    コンストラクタ
    説明
    Judge(int day, Agent agent, Agent target, Species result)
    占い結果もしくは霊媒結果を構築します。
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    占いもしくは霊媒をするエージェントを返します。
    int
    占いもしくは霊媒をする日を返します。
    占いもしくは霊媒の結果を返します。
    占いもしくは霊媒の対象となるエージェントを返します。
     

    クラスから継承されたメソッド java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • コンストラクタの詳細

    • Judge

      public Judge(int day, Agent agent, Agent target, Species result)
      占い結果もしくは霊媒結果を構築します。
      Create new information of judge.
      パラメータ:
      day -
      占いもしくは霊媒をする日
      Day
      agent -
      占いもしくは霊媒をするエージェント
      Agent as seer or medium
      target -
      占いもしくは霊媒の対象となるエージェント
      Agent of judge target
      result -
      占いもしくは霊媒の結果
      Result of divine or medium
  • メソッドの詳細

    • getDay

      public int getDay()
      占いもしくは霊媒をする日を返します。
      Get the day.
      戻り値:
      占いもしくは霊媒をする日
      Day
    • getAgent

      public Agent getAgent()
      占いもしくは霊媒をするエージェントを返します。
      Get the agent as seer or medium.
      戻り値:
      占いもしくは霊媒をするエージェント
      Agent as seer or medium
    • getTarget

      public Agent getTarget()
      占いもしくは霊媒の対象となるエージェントを返します。
      Get the agent of judge target.
      戻り値:
      占いもしくは霊媒の対象となるエージェント
      Agent of judge target
    • getResult

      public Species getResult()
      占いもしくは霊媒の結果を返します。
      Get the result of divine or medium.
      戻り値:
      占いもしくは霊媒の結果
      Result of divine or medium
    • toString

      public String toString()
      オーバーライド:
      toString クラス内 Object