|
|
@ -24,9 +24,9 @@ int main() { |
|
|
|
using namespace ftxui; |
|
|
|
using namespace ftxui; |
|
|
|
std::string reset_position; |
|
|
|
std::string reset_position; |
|
|
|
|
|
|
|
|
|
|
|
auto c = Canvas(60 * 2, 50 * 4); |
|
|
|
auto c = Canvas(60 * 2, 27 * 4); |
|
|
|
|
|
|
|
|
|
|
|
Map game_map(60, 50); |
|
|
|
Map game_map(60, 27); |
|
|
|
game_map.generate(); |
|
|
|
game_map.generate(); |
|
|
|
Matrix &input_map = game_map.input_map(); |
|
|
|
Matrix &input_map = game_map.input_map(); |
|
|
|
Matrix &walls = game_map.walls(); |
|
|
|
Matrix &walls = game_map.walls(); |
|
|
|