Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Clickable

An interface for sprites to manage click events

Hierarchy

  • Clickable

Index

Methods

Methods

onClick

  • Called when a user clicks on a sprite and engine is in delegate mode

    Parameters

    • engine: Engine

      A reference to the active engine

    • screen: GameScreen

      Current screen

    • point: Point

      The global position of the click

    Returns void

Generated using TypeDoc