data drivin all code sucess
This commit is contained in:
+11
-7
@@ -8,14 +8,18 @@
|
||||
#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);
|
||||
public:
|
||||
void clear();
|
||||
void load(const std::array<std::array<char, MAX_COLS>, MAX_ROWS> map_data);
|
||||
void draw(sf::RenderWindow& window);
|
||||
void set_next();
|
||||
void set_previous();
|
||||
int get_active();
|
||||
void set_active(int level);
|
||||
std::array<std::array<Object*, MAX_COLS>, MAX_ROWS> wall_list = {};
|
||||
private:
|
||||
int current_level = 1;
|
||||
|
||||
private:
|
||||
int _active = 1;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user