C# Class StorySystem.StoryMessageHandler

story(1) { onmessage(start) { dialog(1); }; onmessage(enterarea, 1) { dialog(2); }; onmessage(enddialog, 2) { createnpc(10,11,12); movenpc(10,vector2(10,20)); aienable(10,11,12); }; onmessage(killnpc,12) { missioncomplete(); }; };
ファイルを表示 Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
Clone ( ) : StoryMessageHandler
Load ( Dsl messageHandlerData ) : void
Prepare ( ) : void
Reset ( ) : void
Tick ( StoryInstance instance, long delta ) : void
Trigger ( StoryInstance instance, object args ) : void

Private Methods

Method Description
RefreshCommands ( Dsl handlerData ) : void

Method Details

Clone() public method

public Clone ( ) : StoryMessageHandler
return StoryMessageHandler

Load() public method

public Load ( Dsl messageHandlerData ) : void
messageHandlerData Dsl
return void

Prepare() public method

public Prepare ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Tick() public method

public Tick ( StoryInstance instance, long delta ) : void
instance StoryInstance
delta long
return void

Trigger() public method

public Trigger ( StoryInstance instance, object args ) : void
instance StoryInstance
args object
return void