Alistair Riddoch
9ebfefbea4
Modify interface to installFactory is available
2013-02-22 09:57:10 +00:00
Alistair Riddoch
fb4b698866
Convert Motion to use entity base class
2013-01-18 19:27:37 +00:00
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
72c956d4b4
First pass at copy method for all property classes
2013-01-07 23:03:25 +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
cf73fcc141
Isolate this taste, as it's tiny in scope, and it was huge
2012-08-09 01:01:01 +01:00
Alistair Riddoch
68494ba520
Use the ruleset global less often, making code more isolated
2012-01-19 19:34:20 +00:00
Alistair Riddoch
e0c92ebf39
Remove reference to BaseWorld in EntityBuilder
2011-09-21 12:45:18 +01:00
Alistair Riddoch
5cb0ac6ae5
Force asserts on in all tests.
2011-02-15 09:30:46 +00:00
Alistair Riddoch
224a60ecb1
Check the results of test calls to avoid warnings.
2010-08-17 19:23:16 +01:00
Alistair Riddoch
6d8baebf5c
Update tests for renamed EntityBuilder filename.
2009-03-14 04:21:31 +00:00
Al Riddoch
c6ab940214
2008-11-17 Al Riddoch <alriddoch@googlemail.com>
...
* rulesets/Entity.h: Correct a FIXME about leaking a property
when requiring one of a given type.
* tests/PropertyFlagtest.cpp: Add a note for test coverage that
will be required.
2008-11-17 01:06:54 +00:00
Al Riddoch
cc4c17fc4f
2008-10-14 Al Riddoch <alriddoch@googlemail.com>
...
* tests/PropertyFlagtest.cpp: Remove a check which tests for
functionality that is not there yet.
2008-10-14 02:30:16 +00:00
Al Riddoch
ca24cdc958
2008-10-14 Al Riddoch <alriddoch@googlemail.com>
...
* tests/PropertyFlagtest.cpp: Test that property flags work correctly.
2008-10-14 01:33:15 +00:00