Mercurial > fife-parpg
diff engine/core/model/metamodel/grids/squaregrid.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 |
line wrap: on
line diff
--- a/engine/core/model/metamodel/grids/squaregrid.h Fri Jul 11 15:37:16 2008 +0000 +++ b/engine/core/model/metamodel/grids/squaregrid.h Fri Jul 11 15:42:54 2008 +0000 @@ -47,6 +47,7 @@ ModelCoordinate toLayerCoordinates(const ExactModelCoordinate& map_coord); ExactModelCoordinate toExactLayerCoordinates(const ExactModelCoordinate& map_coord); void getVertices(std::vector<ExactModelCoordinate>& vtx, const ModelCoordinate& cell); + CellGrid* clone(); private: bool isAccessibleDiagonal(const ModelCoordinate& curpos, const ModelCoordinate& target);