git repos / blockattack-game

commit 6e601612

Poul Sander · 2017-04-26 18:28
6e601612d5e355e52de09e602c3fde4ad3537358 patch · browse files
parent 9076d3cbc206f681598eb51d5af76c04498a14c6

Add a virtual destructor for good measure.

Changed files

M source/code/sago/GameStateInterface.hpp before
diff --git a/source/code/sago/GameStateInterface.hpp b/source/code/sago/GameStateInterface.hpp index 43b528b..3cb0067 100644 --- a/source/code/sago/GameStateInterface.hpp +++ b/source/code/sago/GameStateInterface.hpp
@@ -46,6 +46,8 @@ public:
virtual void ProcessInput(const SDL_Event& event, bool &processed) = 0;
virtual void Update() {}
+
+ virtual ~GameStateInterface() {}
};
} //sago