Array of states in which the decorated method can be called. The method will throw an error (or log a warning) if called from any other state.
Optional throwWhether to throw an error on invalid state. When false, logs a warning instead.
true (uses the FSM's throwOnInvalid setting)
Options for
Kos State Guard
decorator.