Class: RubySprites::GraphicsManager::GraphicsManager
- Inherits:
-
Object
- Object
- RubySprites::GraphicsManager::GraphicsManager
- Defined in:
- lib/lash-sprites/graphics_manager/graphics_manager.rb
Class Method Summary collapse
Instance Method Summary collapse
- #combine(images, width, height) ⇒ Object
- #get_info(image) ⇒ Object
-
#initialize(sprite) ⇒ GraphicsManager
constructor
A new instance of GraphicsManager.
Constructor Details
#initialize(sprite) ⇒ GraphicsManager
Returns a new instance of GraphicsManager.
5 6 7 |
# File 'lib/lash-sprites/graphics_manager/graphics_manager.rb', line 5 def initialize(sprite) @sprite = sprite end |
Class Method Details
.availible? ⇒ Boolean
9 10 11 |
# File 'lib/lash-sprites/graphics_manager/graphics_manager.rb', line 9 def self.availible? return false end |
Instance Method Details
#combine(images, width, height) ⇒ Object
13 14 15 |
# File 'lib/lash-sprites/graphics_manager/graphics_manager.rb', line 13 def combine(images, width, height) raise "Must be overridden" end |
#get_info(image) ⇒ Object
17 18 19 |
# File 'lib/lash-sprites/graphics_manager/graphics_manager.rb', line 17 def get_info(image) raise "Must be overridden" end |