TempleMirrorPortal

TempleMirrorPortal

new TempleMirrorPortal(dataopt)

Source:

Creates an instance of TempleMirrorPortal, which is implemented by the underlying C# class TempleMirrorPortal in Celeste.

Parameters:
Name Type Attributes Default Description
data Object <optional>
{}

An object containing the attributes of the TempleMirrorPortal to be created

Extends

Methods

toDict() → {Object}

Source:
Inherited From:

Encode a entity into a dictionary

Example
// returns encoded entity dictionary
const { Entity } = require('lucid-dream');
const entity = new Entity('spinner', {}, 123);
entity.toDict();
Returns:

An object containing the encoded entity dicitonary

Type
Object