new BaseSystem()
The base system of ECS (based on Artemis odb)
Members
-
<static> enabled :boolean
-
The system's status
Type:
- boolean
- Default Value:
-
- false
-
<static> world :World
-
Copy of the current world
Type:
- Default Value:
-
- null
Methods
-
begin()
-
Begin processing of system
-
checkProcessing()
-
Check if the system could be process.
-
disable()
-
Disable System
-
enable()
-
Enable system
-
end()
-
End Processing of system
-
getEnabled()
-
Give the status boolean of system
Returns:
IsEnable
- Type
- boolean
-
getWorld()
-
Get the World
return {World} -
<abstract> initialize()
-
Initialization of system
-
process()
-
Processing of system, calls if check processing is true : begin, processSystem, end methods
-
<abstract> processSystem()
-
Process the system
Have to be impemented -
setWorld(world)
-
Set a world to the system
Parameters:
Name Type Description world
World -