Class: Metro::Model::AnimationProperty
- Defined in:
- lib/metro/models/properties/animation_property.rb
Overview
An animation property manages an Animation, which is an array of Gosu::Images and some metadata.
A animation is stored in the properties as a hash representation and is converted into an Animation when it is retrieved within the system.
The animate images are cached within the animation property to help performance by reducing the unncessary creation of similar animations.
Constant Summary
Constants included from Units
Instance Attribute Summary
Attributes inherited from Property
Method Summary
Methods inherited from Property
define_property, defined_properties, get, #get, get_or_set, gets, hash_with_default_to_nil, inherited, #initialize, properties, properties_hash, property, #set, set, sets
Constructor Details
This class inherits a constructor from Metro::Model::Property