我正在尝试从SFML中的Transformable和Drawable继承,以使我的对象......好吧,可转换和可绘制。我正在制作一个简单的突破游戏,但也许我的做法是错误的。这是我的代码:#include#includeclassPlayer:publicsf::Transformable,publicsf::Drawable{public:Player(intx,inty);~Player(){};sf::RectangleShapep_rect;voiddoMovement(constsf::RenderWindow&window);sf::FloatRectgetGlobalBo