net.mostlyoriginal.api.operation.common.BasicOperation 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.api.operation.common;
import com.artemis.Entity;
/**
* @author Daan van Yperen
*/
public abstract class BasicOperation extends Operation {
public abstract void process(Entity e);
@Override
public final boolean process(float delta, Entity e)
{
if ( !completed ) {
process(e);
completed = true;
}
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy