Revamped TMXParser.h such that there is a separation between function declarations and definitions for modular support.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user