Options
All
  • Public
  • Public/Protected
  • All
Menu

The Engine interface that is common to both client and server engine.

Hierarchy

  • Engine

Implemented by

Index

Methods

addSystem

  • addSystem(system: System): void
  • Parameters

    Returns void

registerComponentType

  • registerComponentType<T>(componentType: new () => T, componentTypeName: string): void
  • Type parameters

    Parameters

    • componentType: new () => T
        • new (): T
        • Returns T

    • componentTypeName: string

    Returns void

registerContinuousInputType

  • registerContinuousInputType<T>(inputType: new () => T, inputTypeName: string): void
  • Continuous input remains the same on the server if it doesnt get an update from client. Good for things like player movement instructions from inputs that are held down by the player.

    Type parameters

    Parameters

    • inputType: new () => T
        • new (): T
        • Returns T

    • inputTypeName: string

    Returns void

removeSystem

  • removeSystem(system: System): void
  • Parameters

    Returns void

Generated using TypeDoc