bubel-ecs/source/ecs/attributes.d
Mergul 430ce8074c -multithreading jobs dependencies:
*system has arrays of read only and modified components
 *new attribute "readonly" usable for variables which should be visible as read only. Const can be used instead for enable checks by compiler.
 *JobGroup was added. JobGroup contain array of jobs and array of dependencies (JobGroups)
 *new function generateDependencies() generate exclusion between systems, and then generate dependencies for SystemCallers and JobGroups
-fixed issue with jobs generating (empty blocks with only newly added entities was used, and led to crash)
-fixed small typo mistake
2018-10-20 11:42:29 +02:00

8 lines
No EOL
327 B
D

module ecs.attributes;
///Used to mark optional components for system.
enum optional = "optional";
///Used to mark absent components for system. Enum 'AbsentComponents' should be used instead of it.
enum absent = "absent";
///Used to mark readonly components for system. "const" can be used insted.
enum readonly = "readonly";