I want to make 2 classes, first class that will be called Object and second Rectangle. In Object class there will be all functions for moving, rotation, and recieving informations about that object. Second class will have private variable sf::RectangleShape and will inheritance all functions from the Object class (move, rotate...). For now i coded just this part of the code:
Parts that are toiling me are: What is the proper way making default and overloaded constructor for both classes, How can i make Object class to move/rotate rectangleshape without having overloaded functions (move(sf::RectangleShape/*without this*/, float, float)) and should I. I would be very grateful if someone helped me.