# HG changeset patch # User Alys Brooks # Date 2022-02-16 09:12:09 # Node ID 10be9f4e2000fc33bbdd29efc2b7e2d7bccdb49f # Parent 313585ce3bf614fd9522a4ac7bc98adaae49c053 Add details about architecture. diff --git a/README.mkd b/README.mkd --- a/README.mkd +++ b/README.mkd @@ -59,6 +59,12 @@ 2. Removed the ImGui folder: `rm -r ImGui.NET/` 3. Copied `cp -r /tmp/ImGui.NET/src/ImGui.NET .` +### Architecture ### + +This game uses an ECS structure, with significant parts of the simulation done in the `Simulation` class and some drawing in the `FNAGame` class. I use Encompass, which calls systems engines. It also adds messages, which last only one frame and are ideal for updates. + +I call engines that connect the ECS and non-ECS parts bridge engines. It works reasonably well, although I'm trying to add new code to the ECS rather than to the `Simulation` and `FNAGame` classes. + ### File Structure ###