Erik Ogenvik
c47a62f9ff
Warn when wrapping null entity.
...
This should never happen.
2018-12-18 23:42:28 +01:00
Erik Ogenvik
1be96de686
Print entity description on errors.
2018-12-18 23:41:38 +01:00
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
b509b8b11d
Don't load server rules in client.
2018-12-16 23:20:33 +01:00
Erik Ogenvik
a10de0db7d
Expose root object as Python class.
...
To make it possible to always call get_name on a sub operation.
2018-12-16 22:08:51 +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
c70085fd60
Return zero length for invalid vector.
2018-12-16 11:43:29 +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