Class: AuthorEngine::CollisionDetection::BoundingBox

Inherits:
Struct
  • Object
show all
Defined in:
lib/author_engine/collision_detection/collision_detection.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height



4
5
6
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 4

def height
  @height
end

#widthObject

Returns the value of attribute width



4
5
6
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 4

def width
  @width
end

#xObject

Returns the value of attribute x



4
5
6
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 4

def x
  @x
end

#yObject

Returns the value of attribute y



4
5
6
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 4

def y
  @y
end