Class: SlideField::ObjectManager::Slide
- Inherits:
-
Base
- Object
- Base
- SlideField::ObjectManager::Slide
show all
- Defined in:
- lib/slidefield/objects/slide.rb
Instance Method Summary
collapse
Methods inherited from Base
#execute, #initialize, #method_missing
Instance Method Details
#loaded? ⇒ Boolean
7
8
9
|
# File 'lib/slidefield/objects/slide.rb', line 7
def loaded?
@is_loaded
end
|
#on_activate ⇒ Object
19
20
21
|
# File 'lib/slidefield/objects/slide.rb', line 19
def on_activate
forward :activate
end
|
#on_deactivate ⇒ Object
27
28
29
|
# File 'lib/slidefield/objects/slide.rb', line 27
def on_deactivate
forward :deactivate
end
|
#on_draw(animator) ⇒ Object
23
24
25
|
# File 'lib/slidefield/objects/slide.rb', line 23
def on_draw(animator)
forward :draw, animator
end
|
#on_load ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/slidefield/objects/slide.rb', line 11
def on_load
@is_loaded = true
@children = []
add_children_of @obj
forward :load
end
|
#on_unload ⇒ Object
31
32
33
34
|
# File 'lib/slidefield/objects/slide.rb', line 31
def on_unload
@is_loaded = false
forward :unload
end
|