exports

Manages the creation and removal of 3D cubes associated with DOM elements.

Constructor

new exports()

Extends

  • ScriptBase

Members

ID_SCRIPT

Static method to get the ID of the script.

socketObjects3D :object

sockets object3D connected

Type:
  • object

Methods

init()

Creates and manages 3D cubes associated with DOM elements based on socket events.

load() → {Promise.<void>}

Loads the map.

Throws:

If there is an issue with gm installation or loading the map.

Type
Error
Returns:

Resolves when the map is loaded.

Type: 
Promise.<void>

exports

Represents a map object. Central component for managing map-related data

Constructor

new exports()

Extends

  • AbstractMap

Members

ID_SCRIPT

Static method to get the ID of the script.

socketObjects3D :object

sockets object3D connected

Type:
  • object

Methods

init()

Creates and manages 3D cubes associated with DOM elements based on socket events.

load() → {Promise.<void>}

Loads the map.

Throws:

If there is an issue with gm installation or loading the map.

Type
Error
Returns:

Resolves when the map is loaded.

Type: 
Promise.<void>

exports

note game manager (add/remove socket game object + add note)

Constructor

new exports()

Members

ID_SCRIPT

Static method to get the ID of the script.

socketObjects3D :object

sockets object3D connected

Type:
  • object

Methods

init()

Creates and manages 3D cubes associated with DOM elements based on socket events.

load() → {Promise.<void>}

Loads the map.

Throws:

If there is an issue with gm installation or loading the map.

Type
Error
Returns:

Resolves when the map is loaded.

Type: 
Promise.<void>