Class: Hero

Inherits:
Metro::UI::Sprite show all
Defined in:
lib/templates/game/models/hero.rb

Constant Summary

Constants included from Metro::Units

Metro::Units::Bounds

Instance Attribute Summary

Attributes inherited from Metro::UI::Sprite

#angle, #center_x, #center_y, #color, #dimensions, #image, #position, #scale

Attributes inherited from Metro::Model

#scene, #window

Method Summary

Methods inherited from Metro::UI::Sprite

#bottom, #bounds, #draw, #left, #right, #top

Methods inherited from Metro::Model

#_load, #_save, #after_initialize, #bounds, #create, #draw, #draw_completed?, hierarchy, inherited, #initialize, metro_name, #model, model_name, models, #name, #notification, #saveable_to_view, #show, #to_hash, #update, #update_completed?

Methods included from Metro::HasEvents

included

Methods included from Metro::KeyValueCoding

#get, #set

Methods included from Metro::PropertyOwner

included, #properties

Constructor Details

This class inherits a constructor from Metro::Model