Index

A B C D E F G I L M O P R S T U 
All Classes and Interfaces|All Packages

A

addArena(A) - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Add an arena
Arena - Class in me.hsgamer.minigamecore.base
The arena.
Arena(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.base.Arena
Create a new arena
Arena(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.base.Arena
Create a new arena
ArenaChangeStateEvent - Class in me.hsgamer.minigamecore.bukkit.event
The event called when an arena changed its state.
ArenaChangeStateEvent(BukkitArena, GameState, GameState) - Constructor for class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
Construct the event
ArenaManager<T,A extends Arena & ManagedArena<T>> - Class in me.hsgamer.minigamecore.manager
The manager that handles all arenas
ArenaManager(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.manager.ArenaManager
Create a new arena manager
ArenaManager(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.manager.ArenaManager
Create a new arena manager

B

BukkitArena - Class in me.hsgamer.minigamecore.bukkit
The Arena for Bukkit
BukkitArena(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.bukkit.BukkitArena
Create a new arena
BukkitArena(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.bukkit.BukkitArena
Create a new arena

C

callStateChanged(GameState, GameState) - Method in class me.hsgamer.minigamecore.base.Arena
This is called when the state is changed.
callStateChanged(GameState, GameState) - Method in class me.hsgamer.minigamecore.bukkit.BukkitArena
 
clear() - Method in class me.hsgamer.minigamecore.base.Arena
 
clear() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
 
clear() - Method in interface me.hsgamer.minigamecore.base.Initializer
Clear the object
clear() - Method in class me.hsgamer.minigamecore.feature.TimerFeature
 
clear() - Method in class me.hsgamer.minigamecore.manager.ArenaManager
 
clearAllArenas() - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Clear all arenas
clearArena() - Method in class me.hsgamer.minigamecore.base.Arena
Clear the arena
clearArena() - Method in class me.hsgamer.minigamecore.bukkit.minelib.MineLibArena
 
clearArena() - Method in class me.hsgamer.minigamecore.bukkit.simple.SimpleBukkitArena
 
clearArena() - Method in class me.hsgamer.minigamecore.standalone.StandaloneArena
 
ColoredDisplayName - Interface in me.hsgamer.minigamecore.bukkit.extra
The colored display name
containsArena(T) - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Check if the arena manager contains the arena
createArena(T, Function<T, A>, Consumer<A>) - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Create an arena

D

DisplayName - Interface in me.hsgamer.minigamecore.extra
The interface for the display name

E

end(Arena) - Method in interface me.hsgamer.minigamecore.base.GameState
Handle the logic of the arena at the end of the state.

F

Feature - Interface in me.hsgamer.minigamecore.base
The feature of the arena
FeatureUnit - Class in me.hsgamer.minigamecore.base
A unit to handle the arena Feature and GameState
FeatureUnit(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.base.FeatureUnit
Create a new FeatureUnit
FeatureUnit(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.base.FeatureUnit
Create a new FeatureUnit

G

GameState - Interface in me.hsgamer.minigamecore.base
The game state, also known as the phase of the game
getAllArenas() - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Get all arenas
getArena() - Method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
Get the arena
getArena(T) - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Get the arena by its identifier
getArenaMap() - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Get the arena map
getColoredDisplayName() - Method in interface me.hsgamer.minigamecore.bukkit.extra.ColoredDisplayName
Get the colored display name
getCurrentState() - Method in class me.hsgamer.minigamecore.base.Arena
Get the game state of the arena
getCurrentStateInstance() - Method in class me.hsgamer.minigamecore.base.Arena
Get the instance of the current game state of the arena
getDelay() - Method in class me.hsgamer.minigamecore.bukkit.minelib.MineLibArena
 
getDelay() - Method in class me.hsgamer.minigamecore.bukkit.simple.SimpleBukkitArena
 
getDelay() - Method in interface me.hsgamer.minigamecore.extra.TimePeriod
Get the delay before the task runs
getDisplayName() - Method in interface me.hsgamer.minigamecore.extra.DisplayName
Get the display name
getDuration() - Method in class me.hsgamer.minigamecore.feature.TimerFeature
Get the duration of the timer in milliseconds
getDuration(TimeUnit) - Method in class me.hsgamer.minigamecore.feature.TimerFeature
Get the duration of the timer
getFeature(Class<T>) - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Get the instance of the feature
getFeatures(boolean) - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Get all classes of the features
getGameState(Class<T>) - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Get the instance of the game state
getGameStates(boolean) - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Get all classes of the game states
getHandlerList() - Static method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
Get the handler list
getHandlers() - Method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
 
getIdentifier() - Method in interface me.hsgamer.minigamecore.manager.ManagedArena
Get the identifier of the arena
getNewState() - Method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
Get the new game state
getNextState() - Method in class me.hsgamer.minigamecore.base.Arena
Get the next game state of the arena
getNextStateInstance() - Method in class me.hsgamer.minigamecore.base.Arena
Get the instance of the next game state of the arena
getOldState() - Method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
Get the old game state
getParent() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Get the parent FeatureUnit.
getParentList() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Set the parent FeatureUnit list
getPeriod() - Method in class me.hsgamer.minigamecore.bukkit.minelib.MineLibArena
 
getPeriod() - Method in class me.hsgamer.minigamecore.bukkit.simple.SimpleBukkitArena
 
getPeriod() - Method in interface me.hsgamer.minigamecore.extra.TimePeriod
Get the period between task calling
getTimer() - Method in class me.hsgamer.minigamecore.standalone.StandaloneArena
Get the timer

I

init() - Method in class me.hsgamer.minigamecore.base.Arena
 
init() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
 
init() - Method in interface me.hsgamer.minigamecore.base.Initializer
Init the object
init() - Method in class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
 
initArena() - Method in class me.hsgamer.minigamecore.base.Arena
Initialize the arena
initArena() - Method in class me.hsgamer.minigamecore.bukkit.minelib.MineLibArena
 
initArena() - Method in class me.hsgamer.minigamecore.bukkit.simple.SimpleBukkitArena
 
initArena() - Method in class me.hsgamer.minigamecore.standalone.StandaloneArena
 
Initializer - Interface in me.hsgamer.minigamecore.base
The interface represents that the object can be initialized and cleared
isAsync() - Method in class me.hsgamer.minigamecore.bukkit.BukkitArena
Whether the task is async or not.
isCancelled() - Method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
 
isNotRunning() - Method in class me.hsgamer.minigamecore.feature.TimerFeature
Check if the timer is not running
isRunning() - Method in class me.hsgamer.minigamecore.feature.TimerFeature
Check if the timer is running
isValid() - Method in class me.hsgamer.minigamecore.base.Arena
Check if the arena is valid.

L

loadArenas() - Method in class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
Load the arenas
LoadedArenaManager<T,A extends Arena & ManagedArena<T>> - Class in me.hsgamer.minigamecore.manager.extra
The ArenaManager with loaded arenas on initialization
LoadedArenaManager(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
Create a new arena manager
LoadedArenaManager(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
Create a new arena manager
loadFeatures() - Method in class me.hsgamer.minigamecore.base.Arena
 
loadFeatures() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Load the features
loadGameStates() - Method in class me.hsgamer.minigamecore.base.Arena
 
loadGameStates() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
Load the game states

M

ManagedArena<T> - Interface in me.hsgamer.minigamecore.manager
An extension of Arena that can be managed by ArenaManager
me.hsgamer.minigamecore.base - package me.hsgamer.minigamecore.base
The base classes for creating a minigame project
me.hsgamer.minigamecore.bukkit - package me.hsgamer.minigamecore.bukkit
The classes for creating minigames for Bukkit
me.hsgamer.minigamecore.bukkit.event - package me.hsgamer.minigamecore.bukkit.event
Contains the Event to extend some base classes
me.hsgamer.minigamecore.bukkit.extra - package me.hsgamer.minigamecore.bukkit.extra
Contains the extra classes for all units in the Bukkit platform
me.hsgamer.minigamecore.bukkit.minelib - package me.hsgamer.minigamecore.bukkit.minelib
Contains the MineLib implementation of BukkitArena
me.hsgamer.minigamecore.bukkit.simple - package me.hsgamer.minigamecore.bukkit.simple
Contains the simple implementation of BukkitArena
me.hsgamer.minigamecore.extra - package me.hsgamer.minigamecore.extra
Contains extra classes for all units of the base
me.hsgamer.minigamecore.feature - package me.hsgamer.minigamecore.feature
The implementation classes for Feature
me.hsgamer.minigamecore.manager - package me.hsgamer.minigamecore.manager
Contains the classes to manage all Arena
me.hsgamer.minigamecore.manager.extra - package me.hsgamer.minigamecore.manager.extra
The implementation classes for ArenaManager
me.hsgamer.minigamecore.standalone - package me.hsgamer.minigamecore.standalone
The classes for creating standalone minigames
MineLibArena - Class in me.hsgamer.minigamecore.bukkit.minelib
The MineLib implementation of BukkitArena that uses Task to run the arena.
MineLibArena(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.bukkit.minelib.MineLibArena
Create a new arena
MineLibArena(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.bukkit.minelib.MineLibArena
Create a new arena

O

onArenaFailToLoad(A) - Method in class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
Called when the arena fails to load
onArenaSucceedToLoad(A) - Method in class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
Called when the arena succeeds to load

P

postInit() - Method in class me.hsgamer.minigamecore.base.Arena
 
postInit() - Method in class me.hsgamer.minigamecore.base.FeatureUnit
 
postInit() - Method in interface me.hsgamer.minigamecore.base.Initializer
Called on special event when all the objects are initialized
postInit() - Method in class me.hsgamer.minigamecore.manager.ArenaManager
 
postInitArena() - Method in class me.hsgamer.minigamecore.base.Arena
Post-initialize the arena

R

reloadArena() - Method in class me.hsgamer.minigamecore.manager.extra.LoadedArenaManager
Reload the arenas
removeArena(T) - Method in class me.hsgamer.minigamecore.manager.ArenaManager
Remove an arena
removeFromManager() - Method in interface me.hsgamer.minigamecore.manager.ManagedArena
Convenient method.
run() - Method in class me.hsgamer.minigamecore.base.Arena
 

S

setCancelled(boolean) - Method in class me.hsgamer.minigamecore.bukkit.event.ArenaChangeStateEvent
 
setDuration(long) - Method in class me.hsgamer.minigamecore.feature.TimerFeature
Set the duration of the timer in milliseconds
setDuration(long, TimeUnit) - Method in class me.hsgamer.minigamecore.feature.TimerFeature
Set the duration of the timer
setNextState(Class<? extends GameState>) - Method in class me.hsgamer.minigamecore.base.Arena
Set the next game state of the arena.
SimpleBukkitArena - Class in me.hsgamer.minigamecore.bukkit.simple
The simple implementation of BukkitArena that uses BukkitTask to run the arena.
SimpleBukkitArena(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.bukkit.simple.SimpleBukkitArena
Create a new arena
SimpleBukkitArena(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.bukkit.simple.SimpleBukkitArena
Create a new arena
StandaloneArena - Class in me.hsgamer.minigamecore.standalone
The standalone Arena
StandaloneArena(List<FeatureUnit>) - Constructor for class me.hsgamer.minigamecore.standalone.StandaloneArena
Create a new arena
StandaloneArena(FeatureUnit...) - Constructor for class me.hsgamer.minigamecore.standalone.StandaloneArena
Create a new arena
start(Arena) - Method in interface me.hsgamer.minigamecore.base.GameState
Handle the logic of the arena at the start of the state.

T

TimePeriod - Interface in me.hsgamer.minigamecore.extra
The interface for dealing with time period
TimerFeature - Class in me.hsgamer.minigamecore.feature
The timer feature, which provides duration
TimerFeature() - Constructor for class me.hsgamer.minigamecore.feature.TimerFeature
 

U

update(Arena) - Method in interface me.hsgamer.minigamecore.base.GameState
Handle the logic of the arena on the "in-game" tick.
A B C D E F G I L M O P R S T U 
All Classes and Interfaces|All Packages