Options
All
  • Public
  • Public/Protected
  • All
Menu

lipstick-ECS

Index

Type aliases

ComponentType

ComponentType: Component

Entity

Entity: number

SystemType

SystemType: System

Functions

CheckFilter

FilterComponents

present

  • present(): number
  • This function returns a millisecond time. The return is relative to an arbitrary time in the past, and not related to a date time or time stamp. Therefore not subject to clock drift. The primary use is for measuring the elapsed time. If lipstick-ECS runs in browser, present() calls performance.now() actually. If in node, present() calls process.hrtime().

    export

    Returns number

throwError

  • throwError(errmsg: string): void
  • Parameters

    • errmsg: string

    Returns void