Constructor


WarpDoor(x: any, y: any, properties: any)

Arguments:

x: any
y: any
properties: any




Methods


WarpDoor:onInteract(chara: any, facing: any)

Arguments:

chara: any
facing: any

Returns:

1: boolean


WarpDoor:updateOpen()

Updates the state of the door based on its open_flag, and accordingly adjusts it's own sprite and its light




Fields



WarpDoor.flags: string[]

[Property list flag] A list of flags checked to decide whether a map can be warped to


WarpDoor.light: Sprite

Sprite instance for the light that appears under an active door


WarpDoor.maps: string[]

[Property list map] A list of available maps to travel to


WarpDoor.markers: string[]

[Property list marker] A list of markers used when warping to each map


WarpDoor.names: string[]

[Property list name] A list of display names for each map in the warp choice


WarpDoor.open: boolean

[Property open] Whether the door is open (Defaults to true)


WarpDoor.open_flag: string

[Property openflag] The name of a flag that will be used to control the state of the door




Undocumented