• Create Account

#Actualultramailman

Posted 03 February 2013 - 02:24 AM

I am guessing your getPosition method is lacking a const on the right hand side of the method signature.
If I guessed right, it should be something like this:
class Player
{
public:
Vector getPosition() const; //<- this const
};


#1ultramailman

Posted 03 February 2013 - 02:21 AM

I am guessing your getPosition method is lacking a const on the right hand side of the method signature.
If I guessed right, it should be something like this:
class Player
{
Vector getPosition() const;
};


PARTNERS