ig.

DoorUsable

new DoorUsable()

Entity that acts as a usable door, opening and closing when interacted with. 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:

rangeInteractableX

Door horizontal interaction range, based on ig.CONFIG.CHARACTER.SIZE_EFFECTIVE_X.

Source:

rangeInteractableY

Door vertical interaction range, based on ig.CONFIG.CHARACTER.SIZE_EFFECTIVE_Y.

Source:

targetable

Door should be able to be targeted.

Default Value:
  • true
Source:

triggerable

Door should not trigger through collisions.

Default Value:
  • false
Source:

initTypes()

Inits door types.
- adds ig.EntityExtended.TYPE.INTERACTIVE to ig.EntityExtended#type

Source: