chickensoft-games / LogicBlocks

Human-friendly, hierarchical state machines for games and apps in C#.
https://www.nuget.org/packages/Chickensoft.LogicBlocks
MIT License
152 stars 6 forks source link

fix: remove async logic block #33

Closed definitelyokay closed 4 months ago

definitelyokay commented 4 months ago

Removes the async logic block implementation. Why? Because async logic blocks were a bad idea to begin with. Their whole existence is a design error on my part — there is very little utility to a state machine that blocks input processing while long-running tasks are executing. By blocking input processing, user interfaces cannot be responsive. So, away it goes.

A future PR can address removing all the unneeded abstractions between Logic and LogicBlock, etc., now that there is just one, canonical logic block implementation.

This also removes some dependencies from LogicBlocks that it wasn't using. Whoops!