Refined the FSM to allow easily passing in data to the even handler and state functions.

This commit is contained in:
Zed A. Shaw 2024-09-16 07:50:04 -04:00
parent 40ba7f0b66
commit c9425aebf9
7 changed files with 75 additions and 74 deletions

View file

@ -39,6 +39,7 @@ executable('escape_turings_tarpit',
runtests = executable('runtests', [
'game_engine.cpp',
'tests/game_engine.cpp',
'tests/fsm.cpp',
],
dependencies: dependencies + [catch2])