lib/lotu/behaviors/resource_manager.rb in lotu-0.1.18 vs lib/lotu/behaviors/resource_manager.rb in lotu-0.1.19
- old
+ new
@@ -10,9 +10,10 @@
@songs = {}
@animations = Hash.new{ |h,k| h[k] = [] }
@default_font = Hash.new{ |h,k| h[k] = Gosu::Font.new( self, Gosu::default_font_name, k ) }
end
+ # TODO: cambiar a Image['hola.png']
def image( name )
@images[name]
end
def sound( name )