Interface IStormEvent
Namespace: BulletStorm.Storm
Assembly: BulletStorm.dll
Syntax
public interface IStormEvent
Methods
| Improve this Doc View SourceCompile(StormInfo, Stack<Int32>, Int32)
Compiles the event in a StormInfo.
Declaration
void Compile([NotNull] StormInfo info, [NotNull] Stack<int> scopes, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| StormInfo | info | The storm this event belongs to. |
| System.Collections.Generic.Stack<System.Int32> | scopes | A stack to read and write scopes. |
| System.Int32 | index | Index of this event. |
Exceptions
| Type | Condition |
|---|---|
| StormCompileException |
Execute(StormExecutor, Variable)
Executes the event in a StormExecutor.
Declaration
IEnumerator Execute([NotNull] StormExecutor executor, [NotNull] Variable variable)
Parameters
| Type | Name | Description |
|---|---|---|
| StormExecutor | executor | The storm executor to execute this event. |
| Variable | variable | This event's own variable. |
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |