Added simple navigation, some more implementation details

This commit is contained in:
2021-06-03 15:02:40 +12:00
parent c2c5d35f13
commit 5894fa3949
4 changed files with 47 additions and 0 deletions
+23
View File
@@ -1,7 +1,13 @@
*[JavaECS](../../README.md) / [docs](../overview.md) / system*
# System
### Contents
[About](#About)
[Implementation](#Implementation)
[Examples](#Examples)
## About
The system runs operations that must be performed on its assoiciated components.
@@ -20,5 +26,22 @@ void health_system(){
}
}
```
## Implementation
The systems are managed by the following code:
``` java
class SystemManager{
ECS baseECS;
int systemIndex;
public SystemManager(ECS baseECS){
this.baseECS = baseECS;
systemIndex = 0;
}
}
```
## Examples