You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
341 B
C++

#include "level.h"
Level::Level()
{}
void Level::placeBridge(coordinate x, coordinate y)
{
map[x][y] = std::make_unique<PassableCell>(x, y, sf::Color::Black);
}
void Level::removeCharge(coordinate x, coordinate y)
{
map[x][y] = std::make_unique<PassableCell>(x, y /* Brown Color */);
}
Map& Level::mapArray()
{
return map;
}