Package net.regsirius06.engine.API
package net.regsirius06.engine.API
Provides the core interfaces and abstract classes for the plugin system.
This package includes the primary abstractions that define the structure and behavior of the plugin system. It allows for modular and dynamic integration of different components, such as walls in the labyrinth, executable actions, initializers, and the core elements of a plugin.
Key interfaces and classes include:
Loadable- A marker interface indicating that an object is eligible for dynamic loading into the system.Core- Represents the core plugin that defines the structure and loading mechanism for other plugin components.WallState- Defines the properties and behaviors of walls in the labyrinth, such as whether the wall is light, empty, generable, or what color it is.Executable- Represents executable actions within a plugin, with methods for defining the name and execution logic.Initializer- A base class for providing ways to initialize objects of a specified type.
These classes and interfaces serve as the foundation for building modular components that can be dynamically loaded and integrated into the main application.
-
ClassDescriptionRepresents the core of a plugin, providing access to various class loaders.Represents a task or process that can be executed within the system.Initializer<T>Abstract class that provides a way to initialize objects of type
T.This marker interface is used to identify classes or interfaces that can be loaded into the system.Represents the state of a wall in a labyrinth.