com.artemis.systems.VoidEntitySystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artemis-odb Show documentation
Show all versions of artemis-odb Show documentation
Fork of Artemis Entity System Framework.
package com.artemis.systems;
import com.artemis.Aspect;
import com.artemis.EntitySystem;
/**
* This system has an empty aspect so it processes no entities, but it still
* gets invoked.
*
* You can use this system if you need to execute some game logic and not have
* to concern yourself about aspects or entities.
*
*
* @author Arni Arent
*
*
*
* @deprecated Replaced by {@link com.artemis.BaseSystem}
*/
@Deprecated
public abstract class VoidEntitySystem extends EntitySystem {
public VoidEntitySystem() {
super(Aspect.exclude()); // exclude is only semantic here...
}
/**
* Override to implement behavior when this system is called by the world.
*/
protected abstract void processSystem();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy