Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Meet

Hierarchy

  • Meet

Implements

Index

Constructors

constructor

  • Parameters

    • actor: Actor
    • actorToMeet: Actor
    • Optional speed: number

    Returns Meet

Properties

Private _actor

_actor: Actor

Private _actorToMeet

_actorToMeet: Actor

Private _current

_current: Vector

Private _dir

_dir: Vector

Private _distanceBetween

_distanceBetween: number

Private _end

_end: Vector

Private _speed

_speed: number

Private _speedWasSpecified

_speedWasSpecified: boolean = false

Private _started

_started: boolean = false

Private _stopped

_stopped: boolean = false

x

x: number

y

y: number

Methods

isComplete

  • isComplete(actor: Actor): boolean
  • Parameters

    Returns boolean

reset

  • reset(): void
  • Returns void

stop

  • stop(): void
  • Returns void

update

  • update(delta: number): void
  • Parameters

    • delta: number

    Returns void