Byteron / haldric-next

45 stars 6 forks source link

Refactor Commands #88

Open Byteron opened 2 years ago

Byteron commented 2 years ago

I'm not quite happy with how commands currently work. They are straight out of the OOP book and don't work too well together with the ECS. We need to figure out a way we can have recordable actions happening within the ECS, with the ability to revert these actions.

I have concerns with this mainly because commands excessively use the Main singleton to access the world.