net.mostlyoriginal.plugin.OperationsPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contrib-plugin-operations Show documentation
Show all versions of contrib-plugin-operations Show documentation
Scheduled operations on entities and components.
package net.mostlyoriginal.plugin;
import com.artemis.ArtemisPlugin;
import com.artemis.WorldConfigurationBuilder;
import net.mostlyoriginal.api.plugin.extendedcomponentmapper.ExtendedComponentMapperPlugin;
import net.mostlyoriginal.api.system.SchedulerSystem;
/**
* Scheduled operations on entities and components.
*
* @see net.mostlyoriginal.api.operation.common.Operation hierarchy.
* @see net.mostlyoriginal.api.component.Schedule
* @see SchedulerSystem
* @author Daan van Yperen
*/
public class OperationsPlugin implements ArtemisPlugin {
@Override
public void setup(WorldConfigurationBuilder b) {
b.dependsOn(ExtendedComponentMapperPlugin.class);
b.dependsOn(WorldConfigurationBuilder.Priority.OPERATIONS, SchedulerSystem.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy