Mercurial > fife-parpg
diff engine/core/model/structures/layer.i @ 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 | 90005975cdbb |
children | 64e7fe3d4288 |
line wrap: on
line diff
--- a/engine/core/model/structures/layer.i Sat Jul 19 12:06:14 2008 +0000 +++ b/engine/core/model/structures/layer.i Sat Jul 19 12:14:51 2008 +0000 @@ -68,6 +68,7 @@ bool hasInstances() const; Instance* createInstance(Object* object, const ModelCoordinate& p, const std::string& id=""); Instance* createInstance(Object* object, const ExactModelCoordinate& p, const std::string& id=""); + bool addInstance(Instance* instance, const ExactModelCoordinate& p); void deleteInstance(Instance* object); const std::vector<Instance*>& getInstances() const;