22 lines
442 B
C++
22 lines
442 B
C++
#ifndef MAPS_HPP
|
|
#define MAPS_HPP
|
|
|
|
#include "elements.hpp"
|
|
#include "globals.hpp"
|
|
|
|
#include <SFML/Graphics/RenderWindow.hpp>
|
|
#include <array>
|
|
|
|
class Manager {
|
|
public:
|
|
void clear_map();
|
|
void load_map(const std::array<std::array<char, MAX_COLS>, MAX_ROWS> map_data);
|
|
int get_current_level();
|
|
void set_current_level(int level);
|
|
std::array<std::array<Object*, MAX_COLS>, MAX_ROWS> wall_list = {};
|
|
private:
|
|
int current_level = 1;
|
|
};
|
|
|
|
#endif
|