Composition of states ?

Options
So i recently found photon bolt and its fucking awesome !
Its easy to use, quick and efficient. But theres one little thing that could get improved.

State inheritance... i often find myself to form the same complex set of properties in states over and over again... and simple inheritance is not enough to reduce the amount of work here.

Enemy, Goblin, Archer -> Enemy goblin which is an archer, Neutral goblin which is an archer e.g.

It would be great if we could composite states instead... therefore we could construct states for certain components which would reduce a lot of work.

Is there any workaround yet ?

Comments