Class Index | File Index

Classes


Class GLGE.MouseInput

Monitors mouse input for use in render loops
Defined in: glge_input.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
GLGE.MouseInput(element)
Method Summary
Method Attributes Method Name and Description
 
Gets the mouse coords
 
isButtonDown(button)
Tests if a mouse button is pressed
Class Detail
GLGE.MouseInput(element)
Parameters:
element
Method Detail
{object} getMousePosition()
Gets the mouse coords
Returns:
{object} the current mouse coors

{boolean} isButtonDown(button)
Tests if a mouse button is pressed
Parameters:
{number} button
the button to check
Returns:
{boolean} returns true if the button is being pressed

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Dec 21 2009 20:52:54 GMT-0000 (GMT)