public class MdxWorld
extends com.artemis.World
World
to allow for interpolating and rendering of System
sModifier and Type | Field and Description |
---|---|
float |
alpha |
Constructor and Description |
---|
MdxWorld(com.artemis.WorldConfiguration configuration)
Creates a new world
|
Modifier and Type | Method and Description |
---|---|
float |
getAlpha()
Returns the interpolation alpha
|
void |
interpolate()
Invokes interpolate on all
InterpolatingEntitySystem s |
void |
render(Graphics g)
Invokes render on all
RenderingEntitySystem s |
void |
setAlpha(float alpha)
Sets the interpolation alpha
|
addEntity, changedEntity, createEntity, createEntity, createEntity, createFactory, deleteEntity, deleteEntity, deleteManager, deleteSystem, disable, dispose, enable, getComponentManager, getDelta, getEntity, getEntityManager, getManager, getManagers, getMapper, getSystem, getSystems, initialize, inject, inject, process, setDelta, setInvocationStrategy, setManager, setSystem, setSystem
public MdxWorld(com.artemis.WorldConfiguration configuration)
configuration
- The configuration to be appliedpublic void interpolate()
InterpolatingEntitySystem
spublic void render(Graphics g)
RenderingEntitySystem
sg
- The Graphics
s instancepublic float getAlpha()
public void setAlpha(float alpha)
alpha
-