Commit graph

5 commits

Author SHA1 Message Date
Erik Ogenvik
3ab981dcc1 Allow for checking if a map contains key. 2018-12-18 23:39:17 +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
7219d4fd44 Handle element map and lists. 2018-12-17 14:15:30 +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
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
Renamed from rulesets/python/CyPy_Element.h (Browse further)