Index
All Classes and Interfaces|All Packages
A
- Arena - Class in io.github.projectunified.minigamecore.base
-
The arena.
- Arena(FeatureUnit...) - Constructor for class io.github.projectunified.minigamecore.base.Arena
-
Create a new arena
- Arena(List<FeatureUnit>) - Constructor for class io.github.projectunified.minigamecore.base.Arena
-
Create a new arena
C
- callStateChanged(GameState, GameState) - Method in class io.github.projectunified.minigamecore.base.Arena
-
Called when the arena's state is about to change.
- clear() - Method in class io.github.projectunified.minigamecore.base.Arena
- clear() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
- clear() - Method in interface io.github.projectunified.minigamecore.base.Initializer
-
Clear the object
- clearArena() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Clear the arena
E
- end(Arena) - Method in interface io.github.projectunified.minigamecore.base.GameState
-
Handle the logic of the arena at the end of the state.
F
- Feature - Interface in io.github.projectunified.minigamecore.base
-
The feature of the arena
- FeatureUnit - Class in io.github.projectunified.minigamecore.base
- FeatureUnit(FeatureUnit...) - Constructor for class io.github.projectunified.minigamecore.base.FeatureUnit
-
Create a new
FeatureUnit - FeatureUnit(List<FeatureUnit>) - Constructor for class io.github.projectunified.minigamecore.base.FeatureUnit
-
Create a new
FeatureUnit
G
- GameState - Interface in io.github.projectunified.minigamecore.base
-
The game state, also known as the phase of the game
- getCurrentState() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Get the game state of the arena
- getCurrentStateInstance() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Get the instance of the current game state of the arena
- getFeature(Class<T>) - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Get the instance of the feature
- getFeatures(boolean) - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Get all classes of the features
- getGameState(Class<T>) - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Get the instance of the game state
- getGameStates(boolean) - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Get all classes of the game states
- getNextState() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Get the next game state of the arena
- getNextStateInstance() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Get the instance of the next game state of the arena
- getParent() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Get the parent
FeatureUnit. - getParentList() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Get the parent
FeatureUnitlist
I
- init() - Method in class io.github.projectunified.minigamecore.base.Arena
- init() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
- init() - Method in interface io.github.projectunified.minigamecore.base.Initializer
-
Init the object
- initArena() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Initialize the arena
- Initializer - Interface in io.github.projectunified.minigamecore.base
-
The interface represents that the object can be initialized and cleared
- io.github.projectunified.minigamecore.base - package io.github.projectunified.minigamecore.base
-
The base classes for creating a minigame project
- isValid() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Check if the arena is valid.
L
- loadFeatures() - Method in class io.github.projectunified.minigamecore.base.Arena
- loadFeatures() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Load the features
- loadGameStates() - Method in class io.github.projectunified.minigamecore.base.Arena
- loadGameStates() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
-
Load the game states
P
- postInit() - Method in class io.github.projectunified.minigamecore.base.Arena
- postInit() - Method in class io.github.projectunified.minigamecore.base.FeatureUnit
- postInit() - Method in interface io.github.projectunified.minigamecore.base.Initializer
-
Called on special event when all the objects are initialized
- postInitArena() - Method in class io.github.projectunified.minigamecore.base.Arena
-
Post-initialize the arena
R
S
- setNextState(Class<? extends GameState>) - Method in class io.github.projectunified.minigamecore.base.Arena
-
Set the next game state of the arena.
- start(Arena) - Method in interface io.github.projectunified.minigamecore.base.GameState
-
Handle the logic of the arena at the start of the state.
U
- update(Arena) - Method in interface io.github.projectunified.minigamecore.base.GameState
-
Handle the logic of the arena on the "in-game" tick.
All Classes and Interfaces|All Packages