First round of cleanup. dnd_loot.

This commit is contained in:
Zed A. Shaw 2025-06-25 14:28:35 -04:00
parent 689bb150c6
commit f668ff6b7a
9 changed files with 169 additions and 38 deletions

View file

@ -62,12 +62,10 @@ namespace DinkyECS
}
void make_constant(DinkyECS::Entity entity) {
fmt::println(">>> Entity {} is now constant", entity);
$constants.try_emplace(entity, true);
}
void not_constant(DinkyECS::Entity entity) {
fmt::println("<<< Entity {} is NOT constant", entity);
$constants.erase(entity);
}