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.
23 lines
364 B
23 lines
364 B
9 years ago
|
#ifndef MAPLOAD_H
|
||
|
#define MAPLOAD_H
|
||
|
|
||
|
#include <iostream>
|
||
|
#include <fstream>
|
||
|
|
||
|
#include <rapidjson/document.h>
|
||
|
|
||
|
#include "map.h"
|
||
|
|
||
|
class MapLoad
|
||
|
{
|
||
|
public:
|
||
|
MapLoad();
|
||
|
~MapLoad();
|
||
|
|
||
|
void GetFile(std::string* content, std::string mapName);
|
||
|
void Parser(std::string* content, Map* map);
|
||
|
void Load(Map* map, std::string mapName);
|
||
|
};
|
||
|
|
||
|
#endif // MAPLOAD_H
|