Objective-CclassSpriteKit
SKButtonNode
@interface SKButtonNode : SKLabelNode
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classSKLabelNode
Members 31
- method
+ (id)buttonWithFontNamed:(id)arg0; - method
+ (BOOL)supportsSecureCoding; - ivar
NSObject<SKButtonNodeDelegate> *_delegate;+0x90 - ivar
SKAction *_downAction;+0x98 - ivar
id /* block */ _downBlock;+0xa8 - ivar
int _touches;+0xc0 - ivar
SKAction *_upAction;+0xa0 - ivar
id /* block */ _upBlock;+0xb0 - ivar
id /* block */ _upInsideBlock;+0xb8 - method
- (void).cxx_destruct; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)delegate; - method
- (id)downAction; - method
- (void)encodeWithCoder:(id)arg0; - method
- (id)init; - method
- (id)initWithCoder:(id)arg0; - method
- (void)onTouchDownInside:(id /* block */)arg0; - method
- (void)onTouchUp:(id /* block */)arg0; - method
- (void)onTouchUpInside:(id /* block */)arg0; - method
- (void)setDelegate:(id)arg0; - method
- (void)setDownAction:(id)arg0; - method
- (void)setUpAction:(id)arg0; - method
- (void)touchBegan:(unsigned long long)arg0 location:(CGPoint)arg1; - method
- (void)touchEnded:(unsigned long long)arg0 location:(CGPoint)arg1; - method
- (void)touchMoved:(unsigned long long)arg0 location:(CGPoint)arg1; - method
- (void)touchesBegan:(id)arg0 withEvent:(id)arg1; - method
- (void)touchesEnded:(id)arg0 withEvent:(id)arg1; - method
- (id)upAction; - property
@property(weak, nonatomic) NSObject<SKButtonNodeDelegate> *delegate; - property
@property(retain, nonatomic) SKAction *downAction; - property
@property(retain, nonatomic) SKAction *upAction;
Header
@interface SKButtonNode : SKLabelNode { NSObject<SKButtonNodeDelegate> *_delegate; SKAction *_downAction; SKAction *_upAction; id /* block */ _downBlock; id /* block */ _upBlock; id /* block */ _upInsideBlock; int _touches; } @property (nonatomic, weak) NSObject<SKButtonNodeDelegate> *delegate; @property (nonatomic, strong) SKAction *downAction; @property (nonatomic, strong) SKAction *upAction; + (BOOL)supportsSecureCoding; + (id)buttonWithFontNamed:(id)fontNamed; - (void)touchesEnded:(id)touchesEnded withEvent:(id)withEvent; - (id)copyWithZone:(struct _NSZone *)zone; - (void)setDelegate:(id)delegate; - (void).cxx_destruct; - (id)init; - (void)touchesBegan:(id)touchesBegan withEvent:(id)withEvent; - (id)delegate; - (void)encodeWithCoder:(id)coder; - (id)initWithCoder:(id)coder; - (id)upAction; - (void)onTouchUpInside:(id /* block */)onTouchUpInside; - (id)downAction; - (void)onTouchDownInside:(id /* block */)onTouchDownInside; - (void)onTouchUp:(id /* block */)onTouchUp; - (void)setDownAction:(id)downAction; - (void)setUpAction:(id)upAction; - (void)touchBegan:(unsigned long long)touchBegan location:(struct CGPoint)location; - (void)touchEnded:(unsigned long long)touchEnded location:(struct CGPoint)location; - (void)touchMoved:(unsigned long long)touchMoved location:(struct CGPoint)location; @end