Class: ActiveAssets::ActiveSprites::SpritePiece::Details
- Inherits:
-
Struct
- Object
- Struct
- ActiveAssets::ActiveSprites::SpritePiece::Details
- Defined in:
- lib/active_assets/active_sprites/sprite_piece.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#sprite_path ⇒ Object
Returns the value of attribute sprite_path.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
23 24 25 |
# File 'lib/active_assets/active_sprites/sprite_piece.rb', line 23 def height @height end |
#sprite_path ⇒ Object
Returns the value of attribute sprite_path
23 24 25 |
# File 'lib/active_assets/active_sprites/sprite_piece.rb', line 23 def sprite_path @sprite_path end |
#width ⇒ Object
Returns the value of attribute width
23 24 25 |
# File 'lib/active_assets/active_sprites/sprite_piece.rb', line 23 def width @width end |
#x ⇒ Object
Returns the value of attribute x
23 24 25 |
# File 'lib/active_assets/active_sprites/sprite_piece.rb', line 23 def x @x end |
#y ⇒ Object
Returns the value of attribute y
23 24 25 |
# File 'lib/active_assets/active_sprites/sprite_piece.rb', line 23 def y @y end |