Commit graph

8 commits

Author SHA1 Message Date
Alistair Riddoch
4a9c7078f7 Refactor to use LocatedEntity as base class
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
d9fb87d2e0 Cover SetOperation 2012-09-11 22:53:15 +01:00
Alistair Riddoch
6537e5da79 Break out the TestWorld::addNewEntity method
This allows tests to cover the case where an Entity is created by this
function if necessary
2012-09-06 13:48:40 +01:00
Alistair Riddoch
5111c49061 We don't use the pointer to this object 2012-02-11 13:47:06 +00:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
0b127d15b0 Cover creating a mind 2011-12-16 16:04:34 +00:00
Alistair Riddoch
0b363100d8 Fill out some test coverage 2011-12-16 15:36:50 +00:00
Alistair Riddoch
a6ff04a36b Add stub integration test for MindProperty 2011-12-16 09:20:30 +00:00