java.lang.Object
technology.sola.ecs.EcsSystem
-
Constructor Details
-
EcsSystem
public EcsSystem()
-
-
Method Details
-
update
Called to update the state ofComponents attached to anEntity.Implementations will usually create a view via
World.createView()to getEntityinstances that have a particularComponentset to work on.- Parameters:
world- theWorlddeltaTime- the delta time between the last frame and the current frame
-
getOrder
public int getOrder()Gets the order of this System. A higher value means it will be run later in the queue.- Returns:
- the order of this system
-
isActive
public boolean isActive()Returns true if thisEcsSystemis active.- Returns:
- the active state of this system
-
setActive
public void setActive(boolean isActive) Sets the active state of thisEcsSystem.- Parameters:
isActive- the new active state
-