https://github.com/remirobert/rrlooptimerupdate
Manage timer in update loop SKScene on SpriteKit.
https://github.com/remirobert/rrlooptimerupdate
Last synced: 2 months ago
JSON representation
Manage timer in update loop SKScene on SpriteKit.
- Host: GitHub
- URL: https://github.com/remirobert/rrlooptimerupdate
- Owner: remirobert
- License: mit
- Created: 2014-07-05T14:40:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-05T15:12:05.000Z (about 12 years ago)
- Last Synced: 2025-01-11T06:13:16.831Z (over 1 year ago)
- Language: Objective-C
- Size: 574 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RRLoopTimerUpdate
=================
Manage timer in update loop SKScene on SpriteKit.
Overview
========
```Objective-C
#import
@interface RRLoopTimerUpdate : NSObject
@property (nonatomic, assign) NSTimeInterval rangeTimer;
- (instancetype) init :(NSTimeInterval)currentTime;
- (void) freezeTimer;
- (void) restartTimer;
@end
````

>###*freezeTimer*###
> Used to set the timer to keep the current timer value in the update loop of SKScene.
>###*restartTimer*###
> Call this function just before presenting the SKScene for update the timer loop.
*For more information refer to the example project.*