Commit graph

12 commits

Author SHA1 Message Date
Erik Ogenvik
e85f0831b2 Restructure rule classes.
Classes under "rulesets" have been moved to "rules", and split up into
futher subdirectories matching their library. As a result we can now
better separate the python bindings, so that things that belongs to the
simulation are separeted from things that belongs to the ai.
2018-10-31 21:38:35 +01:00
Erik Ogenvik
90a172286c Simplify class hierarchy. 2018-09-30 22:13:06 +02:00
Erik Ogenvik
64f0de89cd Changed protocol for usages.
Make it more general.
2018-08-20 22:10:46 +02:00
Erik Ogenvik
6a3ec31b7e Remove Character class.
This is crucial since it now means that any entity can be controlled by
a mind. This makes the world much more versatile.
2018-08-14 22:25:56 +02:00
Erik Ogenvik
89ae74b449 Initialize properties in constructor. 2018-08-04 18:01:20 +02:00
Erik Ogenvik
6ab9acc746 Refine how tasks and handlers work. 2018-08-01 22:24:49 +02:00
Erik Ogenvik
8c86e3abb0 Make Task behave better. 2018-08-01 22:23:28 +02:00
Erik Ogenvik
200494e70f Tie Tasks to Usage.
So that it's easy to verify that a Task is still valid.
2018-08-01 22:23:28 +02:00
Erik Ogenvik
2ed0437035 Use task for longer running usages. 2018-07-31 11:31:58 +02:00
Erik Ogenvik
4ffeee6ae4 Implement trowel. 2018-07-30 21:33:21 +02:00
Erik Ogenvik
205c7106bf Refine bindings. 2018-07-23 11:03:29 +02:00
Erik Ogenvik
c80336840b Further work on converting Python bindings. 2018-07-22 19:47:35 +02:00