Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
Feature requests
»
Sf::clock pause?
Print
Pages: [
1
]
Author
Topic: Sf::clock pause? (Read 4154 times)
0 Members and 1 Guest are viewing this topic.
WitchD0ctor
Full Member
Posts: 100
Sf::clock pause?
«
on:
March 13, 2011, 04:38:46 am »
Just a thought but a pause and resume function for the clock Class would be kind of useful for me, not sure how difficult it would be to add but it doesn't seem too hard.
Any body agree this would be kind of nice?
Logged
John Carmack can Divide by zer0.
Contadotempo
Full Member
Posts: 167
Firelink Shrine
Sf::clock pause?
«
Reply #1 on:
March 13, 2011, 06:15:29 am »
Heya,
although it's not implemented on SFML you can make your own pausable clock.
Give the following page a read:
http://www.sfml-dev.org/wiki/en/sources/pausableclock
I think this is what you're looking for.
Logged
WitchD0ctor
Full Member
Posts: 100
Sf::clock pause?
«
Reply #2 on:
March 13, 2011, 09:44:59 am »
This is exacly what I'm looking for, thanks!
Logged
John Carmack can Divide by zer0.
Print
Pages: [
1
]
SFML community forums
»
General
»
Feature requests
»
Sf::clock pause?