JaimeGensler / thyseus

An archetypal Entity Component System, built entirely in Typescript
MIT License
74 stars 3 forks source link

[FEAT] Add dev-only warning for no applyCommands systems #69

Closed JaimeGensler closed 9 months ago

JaimeGensler commented 10 months ago

Describe the problem this feature solves

I make the dadgum library and I forget to add it and spend 5 minutes wondering why all my queries are empty. I think it's right to leave it out by default but we should at least throw a warning in the console so it's quicker to figure out what's going on.

Describe the solution you'd like to see

DEV_WARN to pair with DEV_ASSERT, warn when no schedules contain applyCommands.