Uses of Interface
me.hsgamer.minigamecore.base.GameState
Packages that use GameState
Package
Description
The base classes for creating a minigame project
The classes for creating minigames for Bukkit
Contains the
Event
to extend some base classes-
Uses of GameState in me.hsgamer.minigamecore.base
Methods in me.hsgamer.minigamecore.base with type parameters of type GameStateModifier and TypeMethodDescription<T extends GameState>
TFeatureUnit.getGameState
(Class<T> gameStateClass) Get the instance of the game stateMethods in me.hsgamer.minigamecore.base that return types with arguments of type GameStateModifier and TypeMethodDescriptionArena.getCurrentState()
Get the game state of the arenaArena.getCurrentStateInstance()
Get the instance of the current game state of the arenaFeatureUnit.getGameStates
(boolean deep) Get all classes of the game statesArena.getNextState()
Get the next game state of the arenaArena.getNextStateInstance()
Get the instance of the next game state of the arenaArena.loadGameStates()
FeatureUnit.loadGameStates()
Load the game statesMethods in me.hsgamer.minigamecore.base with parameters of type GameStateModifier and TypeMethodDescriptionprotected boolean
Arena.callStateChanged
(GameState oldStage, GameState newStage) This is called when the state is changed.Method parameters in me.hsgamer.minigamecore.base with type arguments of type GameStateModifier and TypeMethodDescriptionvoid
Arena.setNextState
(Class<? extends GameState> stateClass) Set the next game state of the arena. -
Uses of GameState in me.hsgamer.minigamecore.bukkit
Methods in me.hsgamer.minigamecore.bukkit with parameters of type GameStateModifier and TypeMethodDescriptionprotected boolean
BukkitArena.callStateChanged
(GameState oldStage, GameState newStage) -
Uses of GameState in me.hsgamer.minigamecore.bukkit.event
Methods in me.hsgamer.minigamecore.bukkit.event that return GameStateModifier and TypeMethodDescriptionArenaChangeStateEvent.getNewState()
Get the new game stateArenaChangeStateEvent.getOldState()
Get the old game stateConstructors in me.hsgamer.minigamecore.bukkit.event with parameters of type GameStateModifierConstructorDescriptionArenaChangeStateEvent
(BukkitArena arena, GameState oldState, GameState newState) Construct the event