com.artemis.PooledComponent Maven / Gradle / Ivy
package com.artemis;
/**
* Component type that recycles instances.
*
* Expects no final
fields.
*
* @see com.artemis.annotations.PooledWeaver to automate pooled component creation.
*/
public abstract class PooledComponent extends Component {
/** Called whenever the component is recycled. Implementation should reset component to pristine state. */
protected abstract void reset();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy