MCPcopy Create free account
hub / github.com/davemoore22/sorcery / _set_tile_explored

Method _set_tile_explored

src/engine/engine.cpp:280–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 if (it == _ctx.game->state->explored.end())
279 return false;
280
281 return it->second.at(loc);
282}
283
284auto Sorcery::Engine::_set_tile_explored(const Coordinate loc) -> void {
285
286 const auto depth{_ctx.game->state->get_depth()};
287 _ctx.game->state->explored[depth].set(loc);

Callers

nothing calls this directly

Calls 2

get_depthMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected