comparison engine/core/model/structures/layer.h @ 33:112fc4af772d

moved grid ownership to model in similar way as with pathers
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 11 Jul 2008 15:42:54 +0000
parents 4a0efb7baf70
children 90005975cdbb
comparison
equal deleted inserted replaced
32:75b6394ced14 33:112fc4af772d
91 */ 91 */
92 class Layer : public ResourceClass { 92 class Layer : public ResourceClass {
93 public: 93 public:
94 /** Constructor 94 /** Constructor
95 * Layers are created by calling addLayer from map, thus 95 * Layers are created by calling addLayer from map, thus
96 * this method should really be called only by elevation or test code 96 * this method should really be called only by map or test code
97 */ 97 */
98 Layer(const std::string& identifier, Map* map, CellGrid* grid); 98 Layer(const std::string& identifier, Map* map, CellGrid* grid);
99 99
100 /** Destructs a Layer instance 100 /** Destructs a Layer instance
101 */ 101 */