Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

High level architecture

Stuart Campbell edited this page Sep 21, 2013 · 1 revision

Enoki implements a Component-Entity-System architecture. In summary:

  • components are distinct pieces of state that are reusable across entities (e.g. Position, Renderable)

  • entities are groupings of components, implemented as maps like: {:id 1234, :position {:x 1, y: 2}, :renderable {:sprite "foo/butts.png"}}.

  • systems are functions that operate on components.

Clone this wiki locally