SKScene(KoboldKit) Category Reference
Declared in | SKScene+KoboldKit.h |
Instance Methods
disregardAllNotifications
Receiver disregards any and all notification sent by the notification center.
- (void)disregardAllNotifications
Declared In
SKScene+KoboldKit.h
disregardNotification:
Receiver disregards all notifications with the given name.
- (void)disregardNotification:(NSString *)notificationName
Parameters
- notificationName
A string uniquely identifying the notification.
Declared In
SKScene+KoboldKit.h
disregardNotification:object:
Receiver disregards notifications with the given name coming from a specific object.
- (void)disregardNotification:(NSString *)notificationName object:(id)notificationSender
Parameters
- notificationName
A string uniquely identifying the notification.
- notificationSender
The notification sender object whose notifications are observed.
Declared In
SKScene+KoboldKit.h
enumerateBodiesUsingBlock:
Enumerates all physics bodies in the world by passing an INFINITY rect to enumerateBodiesInRect.
- (void)enumerateBodiesUsingBlock:(void ( ^ ) ( SKPhysicsBody *body , BOOL *stop ))block
Parameters
- block
The block that is called for every physics body.
Declared In
SKScene+KoboldKit.h
observeNotification:selector:
Receiver observes notifications posted by notification center.
- (void)observeNotification:(NSString *)notificationName selector:(SEL)notificationSelector
Parameters
- notificationName
A string uniquely identifying the notification.
- notificationSelector
The selector that is performed when a matching notification was received. Selector takes a single NSNotification object as parameter.
Declared In
SKScene+KoboldKit.h
observeNotification:selector:object:
Receiver observes notifications posted by notification center but only those notifications posted by a specific object.
- (void)observeNotification:(NSString *)notificationName selector:(SEL)notificationSelector object:(id)notificationSender
Parameters
- notificationName
A string uniquely identifying the notification.
- notificationSelector
The selector that is performed when a matching notification was received. Selector takes a single NSNotification object as parameter.
- notificationSender
The notification sender object whose notifications are observed.
Declared In
SKScene+KoboldKit.h