]> git.jsancho.org Git - gacela.git/commit
Entity sets and engine api through systems
authorJavier Sancho <jsf@jsancho.org>
Thu, 27 Feb 2014 14:31:16 +0000 (15:31 +0100)
committerJavier Sancho <jsf@jsancho.org>
Thu, 27 Feb 2014 14:31:16 +0000 (15:31 +0100)
commitb1ade28aa0eab723292491d20d5841e4cb8da37c
tree0ff9f3966ea9097d3e2a481e06e0d13ec1b20668
parente4765bdf82f58cd028b190f75e8bb4be13099051
Entity sets and engine api through systems

* src/system.scm: entities and components in a cons-pair of two hash
                  tables and systems returning entities changes
                  directly

* src/engine.scm: modifying an engine is possible only using systems
                  and each system modify engine entities when runs

* src/examples/entity-componentfunctions.scm,
  src/examples/making-systems.scm,
  src/examples/composing-systems.scm,
  src/examples/engine-conway-game.scm:
        modifications for correct execution with the new state of art
src/engine.scm
src/examples/composing-systems.scm
src/examples/engine-conway-game.scm
src/examples/entity-component-functions.scm
src/examples/making-systems.scm
src/system.scm