new IntervalIteratingSystem()
The intervalIteratingSystem (based on artemis)
Extends
Methods
-
begin()
-
Begin processing of system
- Inherited From:
-
buildAspectWithComponentsTypeName(allComponents, oneComponents, excludeComponents)
-
Build Aspect with ComponentsType Name
Parameters:
Name Type Description allComponents
Array.<String> Array of Components Type Name for aspect all components (entity need having all components type of the list)
oneComponents
Array.<String> Array of Components Type Name for aspect one components (entity need having one components type of the list)
excludeComponents
Array.<String> Array of Components Type Name for aspect exclude components (entity need haven't component type of the list)
- Inherited From:
-
checkProcessing()
-
Check if the system could be process.
- Inherited From:
-
disable()
-
Disable System
- Inherited From:
-
enable()
-
Enable system
- Inherited From:
-
end()
-
End Processing of system
- Inherited From:
-
getEnabled()
-
Give the status boolean of system
- Inherited From:
Returns:
IsEnable
- Type
- boolean
-
getWorld()
-
Get the World
return {World}- Inherited From:
-
initialize()
-
Initialization of the EntitySystem
This one creates an EntitySubscription with the system's aspect and add a subscriptionListener- Inherited From:
-
insert(id)
-
Insert Subscription listener
Parameters:
Name Type Description id
number id of the entity inserted
- Inherited From:
-
inserted(ids)
-
Inserted Subscription Listener (call the insert methods for each ids)
Parameters:
Name Type Description ids
Array.<Number> Array of entity ids
- Inherited From:
-
process()
-
Processing of system, calls if check processing is true : begin, processSystem, end methods
- Inherited From:
-
<abstract> processEntity(entity)
-
Process one entity
Parameters:
Name Type Description entity
number id of entity
-
processSystem()
-
Processing System (in this case, each entity subscriber will be process in process Entity methods)
- Overrides:
-
remove(id)
-
Remove Subscription listener
Parameters:
Name Type Description id
number id of the entity removed
- Inherited From:
-
removed(entities)
-
Removed Subscription Listener (call the remove methods for each ids)
Parameters:
Name Type Description entities
Array.<Number> Array of entity ids
- Inherited From:
-
setWorld(world)
-
Set a world to the system
Parameters:
Name Type Description world
World -
- Inherited From: