hello guys I am struggling with this error:
no instance of overloaded function "sf::View::setCenter" matches the argument list
that comes when I do this:
void playerposition()
{
player.getPosition();
}
from my player class and then in the main function I write this:
Player p1;
p1.playerposition();
anyone can explain why the error?