EntityCounter

EntityCounter

The entity counter utility class creates a panel and updates it with data on the systems in the world and how many entities each contains

Constructor

new EntityCounter(skipFramesopt)

Parameters:
Name Type Attributes Description
skipFrames number <optional>

Sets how many frames should it skip between refreshes

Methods

inject(sumerian) → {EntityCounter}

Inject the entity counter into the SumerianRunner instance and create the entity counter panel

Parameters:
Name Type Description
sumerian SumerianRunner

A SumerianRunner reference