class Gosu::Color

Public Class Methods

_load(hex) click to toggle source
# File lib/cyberarm_engine/ui/style.rb, line 12
def self._load(hex)
  argb(hex.to_i(16))
end

Public Instance Methods

<=>(_other) click to toggle source
# File lib/cyberarm_engine/background.rb, line 175
def <=>(_other)
  self
end
_dump(_level) click to toggle source
# File lib/cyberarm_engine/ui/style.rb, line 3
def _dump(_level)
  [
    "%02X" % alpha,
    "%02X" % red,
    "%02X" % green,
    "%02X" % blue
  ].join
end