API Reference ECSx v0.1.0

modules

Modules

ECSx is an Entity-Component-System (ECS) framework for Elixir. In ECS

Aspects provide an API for working with Components of a specific type.

A Component labels an entity as possessing a particular aspect, and holds the data needed to model that aspect. Under the hood, we use ETS to store the Components in memory for quick retrieval via aspect and entity ID.

In an ECSx application, the Manager is responsible for

A system is a fragment of game logic which acts on all entities with the desired components.

mix-tasks

Mix Tasks

Helpers for the ECSx mmix tasks.

Generates a new Aspect for an ECSx application.

Generates a new System for an ECSx application.

Generates the manager process which runs an ECSx application.