Class Rubygame::JoyUpEvent
In: ext/rubygame/rubygame_event2.c
lib/rubygame/event.rb
Parent: Rubygame::Event

Indicates that a Joystick button was released.

See JoyDownEvent.

Methods

new  

Attributes

button  [RW] 
joynum  [RW] 

Public Class methods

[Source]

# File lib/rubygame/event.rb, line 282
                def initialize(joy,button)
                        # eventually, joy could be int OR a Rubygame::Joystick instance,
                        # which would be stored as joy or maybe joyinstance?
                        @joynum = joy
                        @button = button
                end

[Validate]