ISGenericRTONode Class Reference
Inherits from | CCNode |
---|---|
Declared in | ISGenericRTONode.h |
windowNode
RTO window cocos2d node.
@property (nonatomic, retain) CCNode *windowNode
Declared In
ISGenericRTONode.h
windowBackgroundColorNormal
RTO window background color for normal state.
@property (nonatomic, retain) UIColor *windowBackgroundColorNormal
Declared In
ISGenericRTONode.h
windowBackgroundColorHighlighted
RTO window background color for highlighted state.
@property (nonatomic, retain) UIColor *windowBackgroundColorHighlighted
Declared In
ISGenericRTONode.h
annotationLayerColor
RTO annotation cocos2d layer color.
@property (nonatomic, retain) CCLayerColor *annotationLayerColor
Declared In
ISGenericRTONode.h
actionBackgroundSprite
RTO action button background cocos2d sprite.
@property (nonatomic, retain) CCSprite *actionBackgroundSprite
Declared In
ISGenericRTONode.h
actionSprite
RTO action button cocos2d sprite.
@property (nonatomic, retain) CCSprite *actionSprite
Declared In
ISGenericRTONode.h
actionEnabled
Boolean used to know if an action is enabled.
@property (nonatomic, readwrite) Boolean actionEnabled
Declared In
ISGenericRTONode.h
actionImagePath
RTO action button sprite image path.
@property (nonatomic, retain) NSString *actionImagePath
Declared In
ISGenericRTONode.h
actionBackgroundColorNormal
RTO action button background color for normal state.
@property (nonatomic, retain) UIColor *actionBackgroundColorNormal
Declared In
ISGenericRTONode.h
actionBackgroundColorHighlighted
RTO action button background color for highlighted state.
@property (nonatomic, retain) UIColor *actionBackgroundColorHighlighted
Declared In
ISGenericRTONode.h
indicatorBackgroundSprite
RTO indicator background cocos2d sprite.
@property (nonatomic, retain) CCSprite *indicatorBackgroundSprite
Declared In
ISGenericRTONode.h
indicatorSprite
RTO indicator cocos2d sprite.
@property (nonatomic, retain) CCSprite *indicatorSprite
Declared In
ISGenericRTONode.h
indicatorVisible
Boolean used to know if an indicator is visible.
@property (nonatomic, readwrite) Boolean indicatorVisible
Declared In
ISGenericRTONode.h
indicatorImagePath
RTO indicator sprite image path.
@property (nonatomic, retain) NSString *indicatorImagePath
Declared In
ISGenericRTONode.h
windowAnchorSprite
RTO window anchor cocos2d sprite.
@property (nonatomic, retain) CCSprite *windowAnchorSprite
Declared In
ISGenericRTONode.h
windowAnchorImagePath
RTO window anchor sprite image path.
@property (nonatomic, retain) NSString *windowAnchorImagePath
Declared In
ISGenericRTONode.h
markerImagePath
RTO marker sprite image path.
@property (nonatomic, retain) NSString *markerImagePath
Declared In
ISGenericRTONode.h
markerSprite
RTO marker cocos2d sprite.
@property (nonatomic, retain) CCSprite *markerSprite
Declared In
ISGenericRTONode.h
descriptionName
RTO description cocos2d name.
@property (nonatomic, retain) CCLabelTTF *descriptionName
Declared In
ISGenericRTONode.h
descriptionStrokeLabel
RTO description cocos2d stroke label.
@property (nonatomic, retain) CCLabelTTF *descriptionStrokeLabel
Declared In
ISGenericRTONode.h
descriptionLabel
RTO description cocos2d label.
@property (nonatomic, retain) CCLabelTTF *descriptionLabel
Declared In
ISGenericRTONode.h
– initWithName:andLabel:
Main constructor.
- (instancetype)initWithName:(NSString *)name andLabel:(NSString *)label
Parameters
name |
RTO name. |
---|---|
label |
RTO label. |
Declared In
ISGenericRTONode.h
– initWithName:andLabel:andWindowBackgroundColorNormal:andWindowBackgroundColorHighlighted:andActionEnabled:andActionImagePath:andActionBackgroundColorNormal:andActionBackgroundColorHighlighted:andIndicatorVisible:andIndicatorImagePath:andWindowAnchorImagePath:andMarkerImagePath:
Main constructor.
- (instancetype)initWithName:(NSString *)name andLabel:(NSString *)label andWindowBackgroundColorNormal:(UIColor *)windowBackgroundColorNormal andWindowBackgroundColorHighlighted:(UIColor *)windowBackgroundColorHighlighted andActionEnabled:(Boolean)actionEnabled andActionImagePath:(NSString *)actionImagePath andActionBackgroundColorNormal:(UIColor *)actionBackgroundColorNormal andActionBackgroundColorHighlighted:(UIColor *)actionBackgroundColorHighlighted andIndicatorVisible:(Boolean)indicatorVisible andIndicatorImagePath:(NSString *)indicatorImagePath andWindowAnchorImagePath:(NSString *)windowAnchorImagePath andMarkerImagePath:(NSString *)markerImagePath
Parameters
name |
RTO name. |
---|---|
label |
RTO label. |
windowBackgroundColorNormal |
RTO window background color (normal state). |
windowBackgroundColorHighlighted |
RTO window background color (highlighted state). |
actionEnabled |
Boolean used to know if the action button is enabled. |
actionImagePath |
RTO action image path. |
actionBackgroundColorNormal |
RTO action image background color (normal state). |
actionBackgroundColorHighlighted |
RTO action image background color (highlighted state). |
indicatorVisible |
Boolean used to know if the right indicator is visible. |
indicatorImagePath |
RTO indicator image path. |
windowAnchorImagePath |
RTO window anchor image path. |
markerImagePath |
RTO marker image path. |
Declared In
ISGenericRTONode.h
– updateResources
Method called to update RTO resources.
- (void)updateResources
Declared In
ISGenericRTONode.h
– setOver:
Method called to render the annotation as touched or not.
- (void)setOver:(Boolean)over
Parameters
over |
YES if you want a touched effect, otherwise NO. |
---|
Declared In
ISGenericRTONode.h
– setOverAction:
Method called to render the action button as touched or not.
- (void)setOverAction:(Boolean)over
Parameters
over |
YES if you want a touched effect, otherwise NO. |
---|
Declared In
ISGenericRTONode.h
– toggleWindow
Method called to toggle RTO appearance.
- (Boolean)toggleWindow
Declared In
ISGenericRTONode.h
– hideLabel
Method called to hide the RTO label.
- (Boolean)hideLabel
Declared In
ISGenericRTONode.h
– showLabel
Method called to show the RTO label.
- (Boolean)showLabel
Declared In
ISGenericRTONode.h
– toggleLabel
Method called to toggle RTO label visibility.
- (Boolean)toggleLabel
Declared In
ISGenericRTONode.h