Mostly working prototype that uses FTXUI to render to SFML and then plays a sound when you hit a wall.
This commit is contained in:
parent
69fa7d9e4e
commit
feda66defd
11 changed files with 213 additions and 68 deletions
2
fsm.hpp
2
fsm.hpp
|
@ -12,7 +12,7 @@ template<typename S, typename E>
|
|||
class DeadSimpleFSM {
|
||||
protected:
|
||||
// BUG: don't put this in your class because state() won't work
|
||||
S _state = S::START;
|
||||
S _state = S::START;
|
||||
|
||||
public:
|
||||
template<typename... Types>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue