Drawing a shape is as simple as drawing any other SFML entity: window.draw(shape); ... To draw rectangles, you can use the sf::RectangleShape class.
確定! 回上一頁