A raw slide action. E.g. "start cutscene x" or "open door y". These are mapped as event listeners. Note that the SlideEvent can hold extra parameters to pass through to your target.
Public Member Functions | |
Action (Slide slide) | |
Action (Slide slide, JSObject data) | |
Loads the action meta from the given JSON data. More... | |
void | Load (JSObject data) |
Loads the action meta from the given JSON data. More... | |
Public Attributes | |
Slide | Slide |
The slide this is an action for. More... | |
string | ID |
A custom action ID. More... | |
MethodInfo | Method |
The method to run. Must accept a SlideEvent. More... | |
|
inline |
Loads the action meta from the given JSON data.
|
inline |
Loads the action meta from the given JSON data.
string PowerSlide.Action.ID |
A custom action ID.
MethodInfo PowerSlide.Action.Method |
The method to run. Must accept a SlideEvent.
Slide PowerSlide.Action.Slide |
The slide this is an action for.