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
Erik Ogenvik
c84f5fe926
Don't implicitly convert from Ref to ptr.
...
Since it's too easy to introduce subtle bugs.
2018-08-05 20:47:09 +02:00
Erik Ogenvik
7634969eef
Removed TaskFactory classes.
...
Since we always create Tasks from scripts.
Also fixed a lot of tests.
2018-08-04 18:01:20 +02:00
Erik Ogenvik
80d347993d
Rename EntityRef to WeakEntityRef.
...
To mark that it's a weak ref.
2018-07-22 23:51:33 +02:00
Erik Ogenvik
e6bc7b2790
Use Ref for handling ref counting.
...
All LocatedEntities should always be handled through Ref instances.
These makes sure that the ref counting is correctly handled.
2018-07-22 23:48:42 +02:00
Erik Ogenvik
e2513e5c3a
Fixed issues with stub property.
2017-08-02 10:03:58 +02:00
Erik Ogenvik
1c69b3aae6
Use camel casing for tests.
...
This makes it much easier to find them in various editors.
2016-06-26 20:17:18 +02:00