Revamped TMXParser.h such that there is a separation between function declarations and definitions for modular support.

This commit is contained in:
2023-06-21 14:30:14 -07:00
parent 66d8b9050c
commit 1d3b07eb98
7 changed files with 126 additions and 98 deletions
+4
View File
@@ -7,6 +7,9 @@
#include "Player.h"
#include "olcUTIL_Camera2D.h"
#include "Effect.h"
#include "Map.h"
#include "TMXParser.h"
class Crawler : public olc::PixelGameEngine
{
@@ -17,6 +20,7 @@ class Crawler : public olc::PixelGameEngine
GFX_Heart,GFX_BLOCK_BUBBLE,GFX_Ranger_Sheet,GFX_Wizard_Sheet,
GFX_Battlecry_Effect,GFX_Mana,GFX_SonicSlash;
std::vector<Effect>foregroundEffects,backgroundEffects;
std::map<MapName,Map>MAP_DATA;
vf2d worldShake={};
float worldShakeTime=0;
float lastWorldShakeAdjust=0;