Cleaned up the move operation more so that I can use it in the other places that I need it.

This commit is contained in:
Zed A. Shaw 2025-06-24 13:23:55 -04:00
parent f559b5a39d
commit 6ff1919587
5 changed files with 52 additions and 8 deletions

View file

@ -1,6 +1,10 @@
#include "dinkyecs.hpp"
#include <unordered_map>
// BUG: this should have a bool for "permanent" or "constant" so that
// everything working with it knows to do the make_constant/not_constant
// dance when using it. Idea is the System:: ops for this would get it
// and then look at the bool and add the constant ops as needed.
namespace inventory {
using Slot = std::string;