mirror of
https://github.com/dylanbenzi/terminaltrainers.git
synced 2026-11-27 07:47:01 +00:00
remove Map.h
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
#ifndef TILEMAP_H
|
||||
#define TILEMAP_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class TileMap {
|
||||
public:
|
||||
//3 arrays to store the converted 2D map layer data
|
||||
vector<int> background;
|
||||
vector<int> foreground;
|
||||
vector<int> collision;
|
||||
|
||||
int mapWidth;
|
||||
int mapHeight;
|
||||
|
||||
int getTile(int x, int y) const;
|
||||
int setTile(int x, int y, int tileID) const;
|
||||
|
||||
void loadMap(string file);
|
||||
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user