All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.artemis.systems.VoidEntitySystem Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
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