Mercurial > fife-parpg
diff engine/core/model/structures/layer.i @ 99:64e7fe3d4288
- added possibility to change instance ids
- speedup instances by removing uniqueness check for ids, that means the client has to provide unique ids or live with on unique ids
- added possibility to list all instances with a given id
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 22 Jul 2008 10:04:16 +0000 |
parents | e7b55b2b398f |
children | 98541d3b9220 |
line wrap: on
line diff
--- a/engine/core/model/structures/layer.i Mon Jul 21 13:46:15 2008 +0000 +++ b/engine/core/model/structures/layer.i Tue Jul 22 10:04:16 2008 +0000 @@ -72,6 +72,7 @@ void deleteInstance(Instance* object); const std::vector<Instance*>& getInstances() const; + std::vector<Instance*> getInstances(const std::string& identifier); Instance* getInstance(const std::string& id); void setInstancesVisible(bool vis);