make getNumPalms() const

This commit is contained in:
ZappoMan 2013-12-17 15:28:29 -08:00
parent 4bfdce3910
commit 4b3fd2166d

View file

@ -55,7 +55,7 @@ public:
std::vector<PalmData>& getPalms() { return _palms; }
const std::vector<PalmData>& getPalms() const { return _palms; }
size_t getNumPalms() { return _palms.size(); }
size_t getNumPalms() const { return _palms.size(); }
PalmData& addNewPalm();
/// Finds the indices of the left and right palms according to their locations, or -1 if either or