Class: Gosu::BlockAllocator::Block

Inherits:
Struct
  • Object
show all
Defined in:
lib/gosu_android/graphics/blockAllocator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



46
47
48
# File 'lib/gosu_android/graphics/blockAllocator.rb', line 46

def height
  @height
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



46
47
48
# File 'lib/gosu_android/graphics/blockAllocator.rb', line 46

def left
  @left
end

#topObject

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



46
47
48
# File 'lib/gosu_android/graphics/blockAllocator.rb', line 46

def top
  @top
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



46
47
48
# File 'lib/gosu_android/graphics/blockAllocator.rb', line 46

def width
  @width
end