Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BehaviorComponent

Hierarchy

Implements

Index

Constructors

constructor

Properties

autoStart

autoStart: boolean = true

Accessors

active

  • get active(): boolean
  • set active(active: boolean): void

activeOperators

behavior

customPins

entity

id

  • get id(): string

parent

  • get parent(): undefined | Entity

version

  • get version(): number

Methods

copy

deserialize

destroy

  • destroy(): void

findPinByName

  • findPinByName(name: string): undefined | BasePin

getPins

isA

  • isA<T>(type: object): boolean

isLoaded

  • isLoaded(): boolean

onCollision

onReplace

onUIEvent

  • onUIEvent(handler: function): boolean

reset

  • reset(): void

sendSignal

  • sendSignal(signalName: string): void

serialize

setEntity

  • setEntity(entity: Entity): void

setPins

setProperty

  • setProperty(name: string, value: any): void

setState

start

  • start(): void

update

  • update(): void

upgrade