Sha256: 1d9f90f92354da72029df8199873c125be8c713a0c1b3adb75c519f0b4cd9876

Contents?: true

Size: 153 Bytes

Versions: 5

Compression:

Stored size: 153 Bytes

Contents

# TODO: No he podido encontrar un buen nombre para estos
class Numeric

  def to_pixels

    self / 32
  end

  def from_pixels

    self * 32
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
joybox-1.0.0 motion/joybox/common/numeric.rb
joybox-0.0.6 motion/joybox/common/numeric.rb
joybox-0.0.5 lib/joybox/cocos2d/common/numeric.rb
joybox-0.0.4 lib/joybox/cocos2d/common/numeric.rb
joybox-0.0.3 lib/joybox/cocos2d/common/numeric.rb