Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • Engine

Index

Methods

addSystem

  • addSystem(system: System): void

registerComponentType

  • registerComponentType<T>(componentType: new () => T, componentTypeName: string): 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

Generated using TypeDoc