Actions
Overview
Actions are what defines what any given statement in a script should do.
The following code displays a very simple example of an action that just does something when applied (advancing through the game) and something else when reverted (rolling back through the game). It will match all statements that start with myaction
, for example:
Now that we have our action class, we need to register it in Monogatari so it knows it exists:
Last updated