Make Thing::setLocation() private and only allow Place::insertThing() to call it
crankycyclops opened this issue · comments
Right now, Thing::setLocation() is public, yet if you call it, the game will be in an inconsistent state. Instead, this should only be callable by Place::insertThing().
I also need to do the same with Object::setOwner() and Being::insertIntoInventory()
Done.