Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseInteractionMode

Hierarchy

Index

Constructors

constructor

Methods

getAllowCameraManipulation

  • getAllowCameraManipulation(): boolean
  • Returns whether this mode allows to manipulate the camera

    Returns boolean

getAllowGameLogicUpdates

  • getAllowGameLogicUpdates(): boolean
  • Returns false if this mode is always paused

    Returns boolean

getAllowHud

  • getAllowHud(): boolean
  • Returns whether this interaction mode allows to show the hud and interact with it

    Returns boolean

getAllowInteractionWithMap

  • getAllowInteractionWithMap(): boolean
  • Returns whether this mode allows to open tooltips, collect destroy indicators and such

    Returns boolean

getAllowMenu

  • getAllowMenu(): boolean
  • Returns if this mode allows to open the menu

    Returns boolean

getAllowScreenParticles

  • getAllowScreenParticles(): boolean
  • Retursn false if no screen particles (grant heads etc) are allowed

    Returns boolean

getAllowSounds

  • getAllowSounds(): boolean
  • Returns if this mode allows any sounds to be played

    Returns boolean

getCameraMoveAnimationSpeed

  • getCameraMoveAnimationSpeed(): number
  • Returns how fast the camera moves towards a desired center. Used for gameover

    Returns number

getCameraZoomAnimationSpeed

  • getCameraZoomAnimationSpeed(): number
  • Returns how fast the camera zooms towards a desired level. Used for gameover

    Returns number