En Yi
b5f026c96b
Refactor Entity Tag out of EC
...
Tags are game-specific things. So, move out of EC
2023-05-29 21:41:17 +08:00
En Yi
29c9b4eec7
Add boulder entity and moveable component
2023-05-29 21:36:06 +08:00
En Yi
937f63b0ca
Add pause feature on sprite animation
...
Ladder animation now pauses on no movement
2023-05-24 21:54:59 +08:00
En Yi
b1a6430eb7
Add horizontal flip to sprites
2023-05-23 21:33:05 +08:00
En Yi
bc7f9ef777
Add manager field to an entity
...
Since an entity is essentially tied to a manager, put it as a field in
Entity. This means no need to pass entity manager when getting a
component, which is more intuitive.
2023-05-23 21:00:23 +08:00
En Yi
4478a512a3
Combine Component, Entity + Manager headers
...
It has reached a point where it is much easier to combine these three
than to separate them.
2023-05-23 20:37:55 +08:00