public abstract class RenderingEntitySystem extends com.artemis.EntitySystem implements RenderingSystem
EntitySystem to add mini2Dx's render method| Constructor and Description |
|---|
RenderingEntitySystem(com.artemis.Aspect.Builder aspect)
Creates a new RenderingEntitySystem
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
postRender(Graphics g)
An overridable method called once after the system renders
|
protected void |
preRender(Graphics g)
An overridable method called once before the system renders
|
protected void |
processSystem() |
protected abstract void |
render(int entityId,
Graphics g)
Render an entity
|
void |
renderSystem(Graphics g)
Renders the system
|
void |
setWorld(com.artemis.World world) |
getEntities, inserted, inserted, inserted, removed, removed, removedpublic RenderingEntitySystem(com.artemis.Aspect.Builder aspect)
aspect - The Aspect to match entitiesprotected void preRender(Graphics g)
g - protected abstract void render(int entityId,
Graphics g)
entityId - The entity idg - The Graphics contextprotected void postRender(Graphics g)
g - protected void processSystem()
processSystem in class com.artemis.BaseSystempublic void renderSystem(Graphics g)
RenderingSystemrenderSystem in interface RenderingSystemg - The Graphics contextpublic void setWorld(com.artemis.World world)
setWorld in class com.artemis.EntitySystem