Options
All
  • Public
  • Public/Protected
  • All
Menu
classdesc

Creates a DuckEngine PluginManager

description

The PluginManager Class. Manages and handles plugins

since

2.0.0

Hierarchy

  • PluginManager

Index

Constructors

constructor

Properties

plugins

plugins: {}
memberof

PluginManager

description

An object that holds all registered plugins

since

2.0.0

Type declaration

Methods

call

  • call(name: string): void
  • memberof

    PluginManager

    description

    Calls/Runs a plugin by its name

    since

    2.0.0

    Parameters

    • name: string

      Name of plugin to call/run

    Returns void

find

  • find(name: string): undefined | Plugin
  • memberof

    PluginManager

    description

    Finds a plugin by its name

    since

    2.0.0

    Parameters

    • name: string

      Name of plugin to find

    Returns undefined | Plugin

registerPlugin

  • registerPlugin(plugin: Plugin): void
  • memberof

    PluginManager

    description

    Registers a plugin and adds a plugin by its name to the plugins object

    since

    2.0.0

    Parameters

    Returns void

unregisterPlugin

  • unregisterPlugin(name: string): void
  • memberof

    PluginManager

    description

    Unregisters a plugin by its name

    since

    2.0.0

    Parameters

    • name: string

      Name of plugin to remove

    Returns void

Generated using TypeDoc