Interface HookHandle
- All Superinterfaces:
AutoCloseable
A registered gameplay override, kept only so a scenario can drop it early.
Releasing is optional: every handle a scenario registers through its game context is released automatically when the scenario is deactivated or the game ends, which is what keeps an override scoped to one match and restores Zentrix's own behaviour afterwards.
- Since:
- 1.6.0
-
Method Summary
-
Method Details
-
release
void release()Removes the override. Calling this more than once is harmless. -
isActive
boolean isActive()Whether the override is still installed. -
close
default void close()- Specified by:
closein interfaceAutoCloseable
-