generated from sigonasr2/CPlusPlusProjectTemplate
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.
26 lines
648 B
26 lines
648 B
2 years ago
|
#ifndef MAP_H
|
||
|
#define MAP_H
|
||
|
#include "pixelGameEngine.h"
|
||
|
#include "encounters.h"
|
||
|
|
||
|
using namespace olc;
|
||
|
|
||
|
class Map{
|
||
|
public:
|
||
|
std::string filename;
|
||
|
std::string l2filename;
|
||
|
std::string l3filename;
|
||
|
std::string l4filename;
|
||
|
std::string l5filename;
|
||
|
Decal*tileset;
|
||
|
std::vector<Encounter*> encounters;
|
||
|
Map(std::string fname,std::string layer2_fname,std::string layer3_fname,std::string layer4_fname,std::string layer5_fname,Decal*tileset) {
|
||
|
this->filename=fname;
|
||
|
this->l2filename=layer2_fname;
|
||
|
this->l3filename=layer3_fname;
|
||
|
this->l4filename=layer4_fname;
|
||
|
this->l5filename=layer5_fname;
|
||
|
this->tileset=tileset;
|
||
|
}
|
||
|
};
|
||
|
#endif
|