API Docs for: 0.0.2
Show:

Atlantis.Mouse Class

Module: Framework
Parent Module: Atlantis

The Mouse class is responsible to manage mouse events.

Constructor

Atlantis.Mouse

(
  • domElement
)

Parameters:

  • domElement HTMLElement

    The DOM element to use (default is document.body).

Item Index

Methods

Methods

getState

() Atlantis.MouseState

Gets the state of the mouse.

Returns:

Atlantis.MouseState:

Return the state of the mouse at this time.