JavaECS-Docs/docs/system/ECSSystem.md
Brychan Dempsey 7b09b13889 Added System docs
Improved the accuracy of system.md
Added ECSSystem.md and SystemManager.md
2021-06-05 15:40:56 +12:00

1.1 KiB

| JavaECS | docs | system | ECSSystem.md

System Manager

In this section

About

Implementation

Constructors

Methods

Fields

Examples

Notes

About

The system manager class controls references to the systems.

Implementation

See System.md

Constructors

Default constructor

public ECSSystem(){}

Methods

init

public void init(){}

Functionality that needs to occur at the initialisation of the system should be performed here

  • init() should be called only once, before the system is utilised
  • An example of the type of call that could be made here is opening a file

update

public void update(){}

Functionality that needs to be called regularly should be defined here

  • update() is intended to be called regularly

Fields

entities

Set<Integer> entities = new HashSet<>();

The list of entities associated with this system


Examples


Notes