External: Event

Event

The built in Event Object
Source:
pointer.js, line 8
See:

Members

#gameLocalX :Number

Event X coordinate relative to the holding container
Type:
  • Number
Source:
pointer.js, line 58

#gameLocalY :Number

Event Y coordinate relative to the holding container
Type:
  • Number
Source:
pointer.js, line 65

#gameScreenX :Number

Event X coordinate relative to the viewport
Type:
  • Number
Source:
pointer.js, line 30

#gameScreenY :Number

Event Y coordinate relative to the viewport
Type:
  • Number
Source:
pointer.js, line 37

#gameWorldX :Number

Event X coordinate relative to the map
Type:
  • Number
Source:
pointer.js, line 44

#gameWorldY :Number

Event Y coordinate relative to the map
Type:
  • Number
Source:
pointer.js, line 51

#gameX :Number

Event normalized X coordinate within the game canvas itself
Type:
  • Number
Source:
pointer.js, line 14

#gameY :Number

Event normalized Y coordinate within the game canvas itself
Type:
  • Number
Source:
pointer.js, line 22

#pointerId :Number

The unique identifier of the contact for a touch, mouse or pen
(This id is also defined on non Pointer Event Compatible platform like pure mouse or iOS-like touch event)
Type:
  • Number
Source:
pointer.js, line 72
See:
Copyright © 2011 - 2017, Olivier Biot, Jason Oster, Aaron McLeod
Documentation generated by JSDoc 3.4.0 on 2017-02-28T11:37:40+08:00 using the DocStrap template modified by codename-.