Make Entity setters validate input
crankycyclops opened this issue · 2 comments
crankycyclops commented
If input is invalid, throw an exception. Investigate how this will impact things. Might alleviate some validation in the Parser (maybe?) Investigate!
crankycyclops commented
A good example of how the parser will change to accomodate validated setters can be found in Parser::parseCreatureWandering().
crankycyclops commented
I'm now validating the name property. Still have to do others (including aliases.)