You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SeasonI/map.h

29 lines
755 B

#ifndef MAP_H
#define MAP_H
#include "pixelGameEngine.h"
#include "encounters.h"
#include "trigger.h"
using namespace olc;
namespace MapName{
enum Map{
ONETT,
};
}
class Map{
public:
std::string filename;
std::string l2filename;
std::string l3filename;
std::string l4filename;
std::string l5filename;
std::string mapname;
Decal*tileset;
std::vector<Encounter*> encounters;
std::vector<Trigger*> triggers;
Map(std::string fname,std::string layer2_fname,std::string layer3_fname,std::string layer4_fname,std::string layer5_fname,Decal*tileset,std::string mapname)
:filename(fname),l2filename(layer2_fname),l3filename(layer3_fname),l4filename(layer4_fname),l5filename(layer5_fname),mapname(mapname),tileset(tileset) {}
};
#endif