Class: SlideField::ObjectManager::Slide

Inherits:
Base
  • Object
show all
Defined in:
lib/slidefield/objects/slide.rb

Instance Method Summary collapse

Methods inherited from Base

#execute, #initialize, #method_missing

Constructor Details

This class inherits a constructor from SlideField::ObjectManager::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SlideField::ObjectManager::Base

Instance Method Details

#loaded?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/slidefield/objects/slide.rb', line 7

def loaded?
  @is_loaded
end

#on_activateObject



19
20
21
# File 'lib/slidefield/objects/slide.rb', line 19

def on_activate
  forward :activate
end

#on_deactivateObject



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_loadObject



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_unloadObject



31
32
33
34
# File 'lib/slidefield/objects/slide.rb', line 31

def on_unload
  @is_loaded = false
  forward :unload
end