Package me.hsgamer.minigamecore.base
Interface GameState
- All Superinterfaces:
Initializer
The game state, also known as the phase of the game
-
Method Summary
Methods inherited from interface me.hsgamer.minigamecore.base.Initializer
clear, init, postInit
-
Method Details
-
start
Handle the logic of the arena at the start of the state. This is usually called on the first tick of the arena. Default will callupdate(Arena)
- Parameters:
arena
- the arena
-
update
Handle the logic of the arena on the "in-game" tick. Called when the arena is ticked in the next ticks.- Parameters:
arena
- the arena
-
end
Handle the logic of the arena at the end of the state. This is usually called when the state of the arena is changed.- Parameters:
arena
- the arena
-