Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/or2d/patches/integer.rb

Instance Method Summary collapse

Instance Method Details

#scaleObject

Scale the integer by the game window’s scale.



4
5
6
# File 'lib/or2d/patches/integer.rb', line 4

def scale
  self * OR2D.scale
end