ig.

DoorTriggered

new DoorTriggered()

Convenience door, opening and closing only when triggered and not with interaction or collision. IMPORTANT: this is an abstract entity that should be extended.

Author:
  • Collin Hover - collinhover.com
Source:

autoToggle

Door should not auto toggle open/close.

Default Value:
  • false
Source:

targetable

Door should not be able to be targeted.

Default Value:
  • false
Source:

triggerable

Door should not trigger through collisions.

Default Value:
  • false
Source:

getCanClose()

Triggered doors do not care if another entity is colliding with them, they always close.

Source: