Now have good coverage on map but need to actually confirm results in the test.
This commit is contained in:
parent
97255eb813
commit
d0d62836e3
5 changed files with 61 additions and 7 deletions
8
map.cpp
8
map.cpp
|
@ -295,10 +295,6 @@ void Map::set_target(const Point &at, int value) {
|
|||
$input_map[at.y][at.x] = 0;
|
||||
}
|
||||
|
||||
void Map::clear_light_target(const Point &at) {
|
||||
$input_map[at.y][at.x] = 1;
|
||||
}
|
||||
|
||||
void Map::clear_target(const Point &at) {
|
||||
$input_map[at.y][at.x] = 1;
|
||||
}
|
||||
|
@ -386,6 +382,10 @@ void Map::reset_light() {
|
|||
}
|
||||
}
|
||||
|
||||
void Map::clear_light_target(const Point &at) {
|
||||
$input_map[at.y][at.x] = 1;
|
||||
}
|
||||
|
||||
void Map::set_light_target(const Point &at, int value) {
|
||||
set_target(at, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue