Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XPointer

Hierarchy

  • XPointer

Index

Constructors

constructor

  • new XPointer(element: HTMLElement): XPointer

Properties

isMouseDown

isMouseDown: boolean = false

position

position: Vector

Accessors

x

x:

y

y:

Methods

pointerDownHandler

  • pointerDownHandler(): void

pointerMoveHandler

  • pointerMoveHandler(event: MouseEvent | TouchEvent): void
  • Parameters

    • event: MouseEvent | TouchEvent

    Returns void

pointerUpHandler

  • pointerUpHandler(): void

testCollidingWithGameObject

  • testCollidingWithGameObject(object: XGameObject): boolean