Class CheatPlugin
-
- All Implemented Interfaces:
public abstract class CheatPlugin
-
-
Constructor Summary
Constructors Constructor Description CheatPlugin()
-
Method Summary
Modifier and Type Method Description Unit
advance(Float amount, List<<Error class: unknown class>> events)
Called once per frame while the command is active, before advance is called on applicable ships. Unit
,java.lang.Float)>advance(<Error class: unknown class> ship, Float amount)
Called once per applicable ship per frame while the command is active. Unit
)>unapply(<Error class: unknown class> ship)
Called when cheat is toggled off. Unit
)>onStart(<Error class: unknown class> engine)
Called when cheat is toggled on, before advance is called on any ships. Unit
)>onEnd(<Error class: unknown class> engine)
Only called when cheat is toggled off, after )>unapply is called on all ships. abstract Boolean
runWhilePaused()
Whether the advance methods should be called while the game is paused. -
-
Method Detail
-
advance
Unit advance(Float amount, List<<Error class: unknown class>> events)
Called once per frame while the command is active, before advance is called on applicable ships.
-
advance
Unit ,java.lang.Float)>advance(<Error class: unknown class> ship, Float amount)
Called once per applicable ship per frame while the command is active.
-
unapply
Unit )>unapply(<Error class: unknown class> ship)
Called when cheat is toggled off. Do not rely on this being called!
-
onStart
Unit )>onStart(<Error class: unknown class> engine)
Called when cheat is toggled on, before advance is called on any ships.
-
onEnd
Unit )>onEnd(<Error class: unknown class> engine)
Only called when cheat is toggled off, after )>unapply is called on all ships. Do not rely on this being called!
-
runWhilePaused
abstract Boolean runWhilePaused()
Whether the advance methods should be called while the game is paused.
-
-
-
-