Currently the ECS can only call a method on all entities & components at the same time. It would be favorable if the ECS only called these methods on components that actually have an implementation for that method.
The ECS also lacks a tick method :(
[x] ECS "pre-processing" of component methods
[x] ECS start method
[ ] ECS tick method
[x] Entity reference
Component methods currently don't have a reference to the entity they're executing on.
Important: Saving a reference could lead to a reference cycle, which rune doesn't handle. So we'll just have to pass in an entity struct along with every component method call.
Currently the ECS can only call a method on all entities & components at the same time. It would be favorable if the ECS only called these methods on components that actually have an implementation for that method.
The ECS also lacks a tick method :(
start
methodtick
methodComponent methods currently don't have a reference to the entity they're executing on.
Important: Saving a reference could lead to a reference cycle, which rune doesn't handle. So we'll just have to pass in an entity struct along with every component method call.