org.boxed_economy.components.stepclock
クラス StepClock

java.lang.Object
  拡張org.boxed_economy.besp.model.fmfw.Clock
      拡張org.boxed_economy.components.stepclock.StepClock
すべての実装インタフェース:
java.io.Serializable

public class StepClock
extends Clock

StepClock Clockを単純な整数によるステップで実現したClockです。

関連項目:
直列化された形式

フィールドの概要
static java.util.ResourceBundle resource
           
 
コンストラクタの概要
StepClock()
           
 
メソッドの概要
 void gain()
          timeOfDayを1進めます。
 long getStep()
          Returns the step.
 void setStep(long step)
          Sets the step.
 java.lang.String toString()
           
 
クラス org.boxed_economy.besp.model.fmfw.Clock から継承したメソッド
fireClockGained, firePrepareStepStart, fireStepCompleted, getWorld, prepareStep, receiveTimeEvent, setWorld
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

resource

public static java.util.ResourceBundle resource
コンストラクタの詳細

StepClock

public StepClock()
メソッドの詳細

gain

public void gain()
timeOfDayを1進めます。

定義:
クラス Clock 内の gain

getStep

public long getStep()
Returns the step.

戻り値:
long

setStep

public void setStep(long step)
Sets the step.

パラメータ:
step - The step to set

toString

public java.lang.String toString()
関連項目:
Object.toString()