refactor(entities): rename notifyTileEntered → notifyTilePainted i escolta tile_painted
This commit is contained in:
1 parent
0f56ce7567
commit
e3cf2eb773
7 files changed
+33
-28
No files matched your search
@@ -112,7 +112,7 @@ void Sarcophagus::update(float delta_time) {
|
||||
}
|
||||
}
|
||||
|
||||
void Sarcophagus::notifyTileEntered(int col, int row) {
|
||||
void Sarcophagus::notifyTilePainted(int col, int row) {
|
||||
if (state_ != State::CLOSED) { return; }
|
||||
const TileKey KEY{.col = col, .row = row};
|
||||
if (perimeter_tiles_.find(KEY) == perimeter_tiles_.end()) { return; }
|
||||
|
||||
Reference in new issue
Block a user