ImmutableOctet / glare

Glare: Open Source Game Engine written in Modern C++
MIT License
0 stars 0 forks source link

Allow implicit state import from state transition declaration #47

Closed ImmutableOctet closed 1 year ago

ImmutableOctet commented 1 year ago

We currently require that all states be declared during the archetype parsing phase. This feature would allow importing additional states to the entity-descriptor if they're referenced as possible transition states in one of the regularly imported state definitions.

Example:

Proposed solutions are as follows:

I am currently undecided on which approach would be most effective, but I'm leaning towards an "imports" section for each state.

ImmutableOctet commented 1 year ago

This has been resolved as of #49.