module GosuEnhanced
Module for gosu_enhanced gem.
Module for the Gosu
Enhanced gem.
Module for the Gosu
Enhanced gem.
Version of the gosu_enhanced gem.
Constants
- Point
Hold a (x, y) pixel position, and allow for offsetting and movement
- VERSION
gosu_enhanced gem version
Public Class Methods
Point(x, y)
click to toggle source
Utility function to construct a Point
-
x
x co-ordinate -
y
y co-ordinate
# File lib/gosu_enhanced/point.rb, line 68 def Point(x, y) Point.new(x, y) end
Region(pos, size)
click to toggle source
Utility function to create a new Region
# File lib/gosu_enhanced/region.rb, line 77 def Region(pos, size) Region.new(pos, size) end
Size(x, y)
click to toggle source
Utility function to construct a size
-
x
Width -
y
Height
# File lib/gosu_enhanced/size.rb, line 110 def Size(x, y) Size.new(x, y) end
Private Instance Methods
Point(x, y)
click to toggle source
Utility function to construct a Point
-
x
x co-ordinate -
y
y co-ordinate
# File lib/gosu_enhanced/point.rb, line 68 def Point(x, y) Point.new(x, y) end
Region(pos, size)
click to toggle source
Utility function to create a new Region
# File lib/gosu_enhanced/region.rb, line 77 def Region(pos, size) Region.new(pos, size) end
Size(x, y)
click to toggle source
Utility function to construct a size
-
x
Width -
y
Height
# File lib/gosu_enhanced/size.rb, line 110 def Size(x, y) Size.new(x, y) end