SFML 为此提供了一个简单的接口;只需在创建窗口的行之后添加sf::sleep(sf::seconds(3))。 ... rect.move(sf::Vector2f(1, 0)); // moving object. }.
確定! 回上一頁