Mercurial > fife-parpg
diff engine/core/model/structures/layer.h @ 91:e7b55b2b398f
Corrected Layer::addInstance() to return appropriate bool. Added the function to layer.i for swig
author | Sleek@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 19 Jul 2008 12:14:51 +0000 |
parents | 9855464762c1 |
children | 64e7fe3d4288 |
line wrap: on
line diff
--- a/engine/core/model/structures/layer.h Sat Jul 19 12:06:14 2008 +0000 +++ b/engine/core/model/structures/layer.h Sat Jul 19 12:14:51 2008 +0000 @@ -135,7 +135,7 @@ /** Add a valid instance at a specific position. This is temporary. It will be moved to a higher level later so that we can ensure that each Instance only lives in one layer. */ - Instance* Layer::addInstance(Instance* instance, const ExactModelCoordinate& p); + bool addInstance(Instance* instance, const ExactModelCoordinate& p); /** Remove an instance from the layer */