Method: LUIT::LUITElement#update
- Defined in:
- lib/luit.rb
#update(x = 0, y = 0) ⇒ Object
70 71 72 73 74 75 76 77 78 79 |
# File 'lib/luit.rb', line 70 def update(x = 0, y = 0) if Gosu::(Gosu::MsLeft) or LUIT.touchDown if !@msDown (Gosu::MsLeft) end @msDown = true else @msDown = false end end |