Packagedanmaq.nineball.core
Classpublic final class CPhaseManager

フェーズ進行・カウンタ進行の管理をするクラス。 使用するためにはcount++を毎フレーム呼び出してください。



Public Properties
 PropertyDefined by
  count : uint
現在のカウント値を取得します。
CPhaseManager
  isReserveNextPhase : Boolean
カウント変化時にフェーズを進めるかどうかを取得します。
CPhaseManager
  nextPhase : int
カウント変化時に進むフェーズ値を取得します。
CPhaseManager
  phase : uint
現在のフェーズ値を取得します。
CPhaseManager
  phaseCount : uint
[read-only] 現在のフェーズ内のカウント値を取得します。
CPhaseManager
  phaseStartTime : uint
[read-only] 現在のフェーズが開始された時のカウント値を取得します。
CPhaseManager
  prevPhase : uint
[read-only] 前回のフェーズ値を取得します。
CPhaseManager
Public Methods
 MethodDefined by
  
コンストラクタ。 内部データのリセットを行います。
CPhaseManager
  
reset():void
フェーズやカウンタなど、内部データのリセットを行います。
CPhaseManager
  
toString():String
このクラスの状態を文字列で取得します。
CPhaseManager
Property detail
countproperty
count:uint  [read-write]

現在のカウント値を取得します。

Implementation
    public function get count():uint
    public function set count(value:uint):void
isReserveNextPhaseproperty 
isReserveNextPhase:Boolean  [read-write]

カウント変化時にフェーズを進めるかどうかを取得します。

Implementation
    public function get isReserveNextPhase():Boolean
    public function set isReserveNextPhase(value:Boolean):void
nextPhaseproperty 
nextPhase:int  [read-write]

カウント変化時に進むフェーズ値を取得します。

Implementation
    public function get nextPhase():int
    public function set nextPhase(value:int):void
phaseproperty 
phase:uint  [read-write]

現在のフェーズ値を取得します。

Implementation
    public function get phase():uint
    public function set phase(value:uint):void
phaseCountproperty 
phaseCount:uint  [read-only]

現在のフェーズ内のカウント値を取得します。

Implementation
    public function get phaseCount():uint
phaseStartTimeproperty 
phaseStartTime:uint  [read-only]

現在のフェーズが開始された時のカウント値を取得します。

Implementation
    public function get phaseStartTime():uint
prevPhaseproperty 
prevPhase:uint  [read-only]

前回のフェーズ値を取得します。

Implementation
    public function get prevPhase():uint
Constructor detail
CPhaseManager()constructor
public function CPhaseManager()

コンストラクタ。 内部データのリセットを行います。

Method detail
reset()method
public function reset():void

フェーズやカウンタなど、内部データのリセットを行います。

toString()method 
public function toString():String

このクラスの状態を文字列で取得します。

Returns
String — オブジェクトのストリング表現