From dab96b810691c26e29fef92d88c828a311be3e9d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 3 Feb 2021 17:11:46 -0500 Subject: Added running sounds --- src/map.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 2f8ec1a..de18e68 100644 --- a/src/map.h +++ b/src/map.h @@ -5,6 +5,7 @@ #include #include "renderer.h" #include "vector.h" +#include "step_type.h" class Renderer; @@ -13,6 +14,7 @@ struct Tile { bool flipHorizontal = false; bool flipVertical = false; bool blocked = false; + StepType step = StepType::none; }; class Map { @@ -32,6 +34,8 @@ public: bool isBlocked(int x, int y) const; + StepType getStepType(int x, int y) const; + private: vec2i mapSize_; -- cgit 1.4.1