API Docs for: 0.0.2
Show:

Atlantis.MouseState Class

Module: Framework
Parent Module: Atlantis

Define a mouse state.

Constructor

Atlantis.MouseState

(
  • x
  • y
  • scroolWheelValue
  • buttons
)

Parameters:

  • x Number

    The position of the cursor on X axis.

  • y Number

    The position of the cursor on Y axis.

  • scroolWheelValue Number

    The value of the scroll

  • buttons Array

    An array with the states of each buttons

Item Index

Methods

Methods

clone

() Atlantis.MouseState

Clone the current state.

Returns:

Atlantis.MouseState:

Return a clone of this instance.