Class: Spritely::Image

Inherits:
Struct
  • Object
show all
Defined in:
lib/spritely/image.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



2
3
4
# File 'lib/spritely/image.rb', line 2

def data
  @data
end

#leftObject

Returns the value of attribute left.



3
4
5
# File 'lib/spritely/image.rb', line 3

def left
  @left
end

#topObject

Returns the value of attribute top.



3
4
5
# File 'lib/spritely/image.rb', line 3

def top
  @top
end