sf::Time time = clock.restart();
左边为sfml中Time类对象,右边为clock对象中restart方法,这到底怎么回事?
相关文档:
http://www.sfml-dev.org/documentation/2.3.2/classsf_1_1Time.php
http://www.sfml-dev.org/documentation/2.3.2/classsf_1_1Clock.php#a123e2627f2943e5ecaa1db0c7df3231b