Closed ChrisRzech closed 5 years ago
addSouvenir(const std::string&, double, bool)
addSouvenir
findSouvenir
std::map::find
std::map::operator[]
none
Key features
addSouvenir(const std::string&, double, bool)
addSouvenir
now returns the ID of the new souvenirfindSouvenir
findSouvenir
to usestd::map::find
instead ofstd::map::operator[]
to allow for out-of-bounds checkingFuture Improvements
Notes
none