AbstractExperience

server. AbstractExperience

Base class to extend in order to create the server-side counterpert of a soundworks client.

The user defined Experiences are the main components of a soundworks application.

Constructor

new AbstractExperience()

Source:

Members

clients :Array.<Client>

Source:

List of connected clients

Type:
  • Array.<Client>

Methods

enter()

Source:

Called when the client started the client

require(name)

Source:

Require a registered plugin, all client types associated to the experience will also be associated to the required plugin. Requiring a plugin should always be done between soundworks.init and soundworks.start. In most case this method is called in the constructor the Experience.

Parameters:
Name Type Description
name String

Name of the registered plugin