Method: Hate::Core::Callbacks.mousepressed

Defined in:
lib/hate/core.rb

.mousepressed(x, y, button) ⇒ Object

Called when a mouse button is pressed down.



91
92
93
# File 'lib/hate/core.rb', line 91

def self.mousepressed(x, y, button)
  Hate::Game.mousepressed(x, y, button) if Hate::Game.respond_to?('mousepressed')
end