Guys, I am really having a hard time here with CCArray.
I’m storing a sub-class of CCObject and I need to be able to over-ride the equality check used by CCArray.
I have tried everything I could think of to override the correct method for CCArray.
My class is called STEShortestPathStep and I cannot get it to work with CCArray’s equality check.
Can anyone help? Please?
bool operator==(STEShortestPathStep& rhs) const; bool operator==(const CCObject* pObject) const; virtual bool isEqual(const CCObject* pObject);