Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SystemStateComponent<C>

Components that extend the SystemStateComponent are not removed when an entity is deleted.

Type parameters

  • C

Hierarchy

Index

Constructors

constructor

  • new SystemStateComponent<C>(props?: false | Partial<Pick<C, Exclude<keyof C, "copy" | "clone" | "reset" | "dispose">>>): SystemStateComponent<C>
  • Type parameters

    • C

    Parameters

    • Optional props: false | Partial<Pick<C, Exclude<keyof C, "copy" | "clone" | "reset" | "dispose">>>

    Returns SystemStateComponent<C>

Properties

Static isComponent

isComponent: true

Static isSystemStateComponent

isSystemStateComponent: true

Static schema

schema: ComponentSchema

Methods

clone

copy

dispose

  • dispose(): void
  • Returns void

reset

  • reset(): void
  • Returns void

Generated using TypeDoc