Commit graph

11 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
f87233cd53 Clean up code. 2018-10-30 19:35:57 +01:00
Erik Ogenvik
bfc4e18b29 Improve Python types. 2018-10-15 17:40:08 +02:00
Erik Ogenvik
9166c109a9 Allow iteration over lists.
Perhaps we should add methods for checking type?
2018-10-11 22:35:00 +02:00
Erik Ogenvik
8842d65e08 Implement cool downs. 2018-07-29 23:20:42 +02:00
Erik Ogenvik
d1a172648a Handle numbers in messages better. 2018-07-28 13:49:40 +02:00
Erik Ogenvik
e9d10f51fe Fixed issues with calling Python scripts. 2018-07-26 15:22:27 +02:00
Erik Ogenvik
a9a8126ec5 Fixed issues with inheriting Python classes. 2018-07-26 15:21:28 +02:00
Erik Ogenvik
ba539df70e Use PyCXX throughout. 2018-07-23 16:43:39 +02:00
Erik Ogenvik
769695ee20 Further work on Python bindings. 2018-07-21 17:40:21 +02:00
Erik Ogenvik
69943282ed Work on converting all python bindings to pycxx. 2018-07-21 13:58:13 +02:00