Package net.regsirius06.engine.core
Class Base
java.lang.Object
net.regsirius06.engine.core.Base
This class represents the core of the game plugin and serves as the foundation of the plugin system.
It implements the
Core interface, providing access to various plugin loaders.
The Base class initializes the core components for managing wall states, executable components,
and labyrinth panels by creating instances of respective plugin loaders.
The class is annotated with ModId to specify its unique identifier and ImplementationOf
to mark it as an implementation of the Core interface.
By implementing the Core interface, the Base class offers the following loaders:
WallStatesPluginLoader- Manages the wall state components of the plugin.ExecutablesPluginLoader- Manages the executable components of the plugin.LabyrinthPanelsPluginLoader- Manages the labyrinth panels components of the plugin.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBase()Constructs the core game engine by initializing the plugin loaders for wall states, executables, and labyrinth panels. -
Method Summary
Modifier and TypeMethodDescriptionReturns the loader responsible for managing executable components in the plugin.Returns the loader responsible for managing labyrinth panel components in the plugin.Returns the loader responsible for managing wall states in the plugin.
-
Constructor Details
-
Base
public Base()Constructs the core game engine by initializing the plugin loaders for wall states, executables, and labyrinth panels.
-
-
Method Details
-
getWallStates
Returns the loader responsible for managing wall states in the plugin.- Specified by:
getWallStatesin interfaceCore- Returns:
- an instance of
WallStatesPluginLoaderornullif not implemented
-
getExecutables
Returns the loader responsible for managing executable components in the plugin.- Specified by:
getExecutablesin interfaceCore- Returns:
- an instance of
ExecutablesPluginLoaderornullif not implemented
-
getLabyrinthPanels
Returns the loader responsible for managing labyrinth panel components in the plugin.- Specified by:
getLabyrinthPanelsin interfaceCore- Returns:
- an instance of
LabyrinthPanelsPluginLoaderornullif not implemented
-