Hi everyone,
As the title states, I am having issues calling an inherited method "move(10.f,10.f)" from the Rectangle Shape class.
Example below: //What we'd could normally do:
sf::RectangleShape aRectShape;
aRectShape.move(10.f,10.f);//Works
//In a class that inherits Rectangle Shape:
this->move(10.f,10.f);//Does not work;
From my understanding, the Rectangle Shape class that I have inherited, also inherits a move from the transformable class. Why am I not allowed to access the move method from Rectangle Shape in its child class that I've created?
Thanks.