Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Question about sf::Clock  (Read 4098 times)

0 Members and 1 Guest are viewing this topic.

TheEnigmist

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Question about sf::Clock
« on: April 12, 2012, 11:23:10 pm »
Simple and fast:
There is a way to pause sf::Clock?

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: Question about sf::Clock
« Reply #1 on: April 13, 2012, 12:17:36 am »
No, not in sfml.

You can implement a stoppable watch by yourself, it's pretty easy.

If you want an exemple, there are maybe some in the wiki, but the "Thor" library implement a very good one :

http://www.bromeon.ch/libraries/thor/index.html
« Last Edit: April 14, 2012, 09:15:14 pm by Lo-X »