C# Class CyclicBarrierSequence, PocketGodsRPG_Proto

A class that is capable of throwing a MAJOR event. In each MAJOR event, a series of sub-events are executed. All these sub-events should report successfully before proceeding to the next MAJOR event. By: NeilDG
ファイルを表示 Open project: pocket-playlab/PocketGodsRPG_Proto Class Usage Examples

Public Methods

Method Description
CreateMajorEvent ( BarrierEvent, barrierEvent ) : void
CyclicBarrierSequence ( ) : System.Collections
DeleteMajorEvent ( BarrierEvent, barrierEvent ) : void
GetCurrentBarrierName ( ) : string
HasFinished ( ) : bool
MoveToNextBarrier ( ) : void

Moves to next barrier if the conditions for current MAJOR event has been satified

StartExecution ( ) : void

Method Details

CreateMajorEvent() public method

public CreateMajorEvent ( BarrierEvent, barrierEvent ) : void
barrierEvent BarrierEvent,
return void

CyclicBarrierSequence() public method

public CyclicBarrierSequence ( ) : System.Collections
return System.Collections

DeleteMajorEvent() public method

public DeleteMajorEvent ( BarrierEvent, barrierEvent ) : void
barrierEvent BarrierEvent,
return void

GetCurrentBarrierName() public method

public GetCurrentBarrierName ( ) : string
return string

HasFinished() public method

public HasFinished ( ) : bool
return bool

MoveToNextBarrier() public method

Moves to next barrier if the conditions for current MAJOR event has been satified
public MoveToNextBarrier ( ) : void
return void

StartExecution() public method

public StartExecution ( ) : void
return void