Commit graph

9 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
1bbb936555 Fill in copy methods on remaining properties 2013-01-08 00:19:23 +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
24ef842faa Re-work AreaProperty to use standard shapes
This means we have changed the code to use our shape classes to store the
data, and modified the expected Atlas format to match the more standard
way of expressing shapes in Atlas which the shape classes expect.
2012-01-10 14:11:19 +00:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
cbeffba950 Fill out coverage of AreaProperty. 2010-01-03 01:15:16 +00:00
Alistair Riddoch
5209e1f434 Update tests now that AreaProperty doesn't take constructor flags arg 2009-05-14 00:24:00 +01:00
Alistair Riddoch
174b8c7854 Add a full coverage test for AreaProperty 2009-05-06 13:34:17 +01:00