Drag[en]gine Script Module DragonScript  1.23
Dragengine.StateMachineSystem.SMBlockAction Class Reference

State machine action using block. More...

Inheritance diagram for Dragengine.StateMachineSystem.SMBlockAction:
Dragengine.StateMachineSystem.SMAction

Public Member Functions

SMBlockAction new (Block ablock)
 Create action. More...
 
- Public Member Functions inherited from Dragengine.StateMachineSystem.SMAction
void runAction (SMContext context, Dictionary parameters)
 Run action. More...
 

Detailed Description

State machine action using block.

Provides support to add tiny actions often just calling a SMContext method without needing to implement a full class. The used block has to take two parameter of type SMContext context and Dictionary and parameters. Do not change the content of the dictionary as it is shared.

new SMBlockAction( block SMContext context, Dictionary parameters
// do something
end )

Member Function Documentation

◆ new()

SMBlockAction Dragengine.StateMachineSystem.SMBlockAction.new ( Block  ablock)

Create action.


The documentation for this class was generated from the following file: