Concord
A feature-complete ECS library.
Require
Section titled “Require”If the concord folder is in the root directory of your game, you can import this module like so:
Concord = require('concord')Classes
Section titled “Classes”- Component — A pure data container that is contained by a single entity.
- Entity — An object that exists in a world. An entity
- List — Data structure that allows for fast removal at the cost of order.
- System — Iterates over Entities. From these Entities it gets Components and modifies them.
- World — A collection of Systems and Entities.
Sub-modules
Section titled “Sub-modules”- Components — Container for registered ComponentClasses
- Type — Helper module to do easy type checking for Concord types
- Utils — Helper module for misc operations
- Overview — All the built-in components.