clik-engine API
    Preparing search index...

    Interface ClikPlugin

    Interface for engine-level plugins. Plugins are initialized once when the game boots and destroyed when the game shuts down.

    interface ClikPlugin {
        dependencies?: string[];
        name: string;
        version: string;
        destroy(): void;
        init(game: Game, config?: unknown): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    dependencies?: string[]

    Optional: names of plugins this depends on (must be loaded first)

    name: string

    Unique plugin name

    version: string

    Semver version string

    Methods