Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GameSystem

A game system processes all entities which match a given schema, usually a list of required components. This is the core of the game logic.

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • Parameters

    • root: any

    Returns GameSystem

Methods

draw

  • draw(parameters: any): void
  • Override, do not call this directly, use startDraw()

    Parameters

    • parameters: any

    Returns void

startDraw

  • startDraw(parameters: any): void
  • see

    GameSystem.draw Wrapper arround the draw method

    Parameters

    • parameters: any

    Returns void

update

  • update(): void
  • Updates the game system, override to perform logic

    Returns void