Skip to content

Instantly share code, notes, and snippets.

View hattori8's full-sized avatar

hattori8

View GitHub Profile
#ifndef CHARACTERSTATEMACHINE_HPP
#define CHARACTERSTATEMACHINE_HPP
#include "StateMachine.hpp"
#include "CharacterStates.hpp"
class CharacterStateMachine : public StateMachine<CharacterState> {
private:
Stopwatch stopwatch;
std::unordered_map<CharacterState, int32> stateTextSpeeds;