class Gosu::Button
Attributes
id[R]
Public Class Methods
new(*args)
click to toggle source
# File lib/gosu_android/input/input.rb, line 6 def initialize(*args) case args.length when 0 @id = NoButton when 1 @id = args[0] else raise ArgumentError end end
Public Instance Methods
<(other)
click to toggle source
# File lib/gosu_android/input/input.rb, line 26 def < other self.id < other.id end
==(other)
click to toggle source
Tests whether two Buttons identify the same physical button.
# File lib/gosu_android/input/input.rb, line 18 def == other self.id == other.id end
>(other)
click to toggle source
# File lib/gosu_android/input/input.rb, line 22 def > other self.id > other.id end