Commit graph

6 commits

Author SHA1 Message Date
Erik Ogenvik
3d6abf574b Check for null. 2018-12-20 14:50:39 +01:00
Erik Ogenvik
60c262b1cb Allow better iteration of maps and lists.
And also expose the get_prop_* and has_prop_* methods.
2018-12-17 21:18:53 +01:00
Erik Ogenvik
df88332a09 Fixed a couple of smaller bugs. 2018-12-16 23:42:13 +01:00
Erik Ogenvik
e1ab2f5f85 Handle native Python types instead of Message.
When handling properties and attributes in the Python code we now use
native types, together with ElementMap and ElementList.
2018-12-16 17:31:35 +01:00
Erik Ogenvik
164816f646 Adapt tests to changed structure. 2018-11-03 17:17:50 +01:00
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