Class: TyranoDsl::Elements::JumpTarget
- Inherits:
-
Object
- Object
- TyranoDsl::Elements::JumpTarget
- Defined in:
- lib/tyrano_dsl/elements/jump_target.rb
Overview
A declared jump target
Instance Attribute Summary collapse
- #label ⇒ TyranoDsl::Elements::Label? readonly
- #scene ⇒ String readonly
Instance Method Summary collapse
-
#initialize(scene, label) ⇒ JumpTarget
constructor
A new instance of JumpTarget.
Constructor Details
#initialize(scene, label) ⇒ JumpTarget
Returns a new instance of JumpTarget.
13 14 15 16 |
# File 'lib/tyrano_dsl/elements/jump_target.rb', line 13 def initialize(scene, label) @scene = scene @label = label end |
Instance Attribute Details
#label ⇒ TyranoDsl::Elements::Label? (readonly)
9 10 11 |
# File 'lib/tyrano_dsl/elements/jump_target.rb', line 9 def label @label end |
#scene ⇒ String (readonly)
7 8 9 |
# File 'lib/tyrano_dsl/elements/jump_target.rb', line 7 def scene @scene end |