added the map, switched branches
This commit is contained in:
24
include/Map.h
Normal file
24
include/Map.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#include <SFML/System/Vector3.hpp>
|
||||
#include <SFML/Graphics/Color.hpp>
|
||||
|
||||
class Map {
|
||||
public:
|
||||
Map(sf::Vector3i dim) {
|
||||
list = new char[dim.x * dim.y * dim.z];
|
||||
}
|
||||
|
||||
~Map() {
|
||||
}
|
||||
|
||||
sf::Vector3<int> getDimensions();
|
||||
char *list;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user