Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YUnit

Index

Constructors

constructor

Methods

Static getAiBehaviour

  • Returns current AI Behaviour of target entity (actor).

    Parameters

    Returns YAiBehaviour

Static isStunned

  • isStunned(target: YEntity): boolean
  • Returns whever target entity (actor) is stunned.

    Parameters

    Returns boolean

Static playEmote

  • Instructs the target actor to play an emote.

    Parameters

    Returns void

Static setAiBehaviour

  • Allows to set AI Behaviour of target entity (actor).

    Parameters

    Returns void

Static setStunned

  • setStunned(target: YEntity, value: boolean): void
  • Allows to apply stun effect onto target entity (actor).

    Parameters

    Returns void

Generated using TypeDoc