Mercurial > fife-parpg
diff engine/core/model/metamodel/grids/hexgrid.cpp @ 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/hexgrid.cpp Fri Jul 11 15:37:16 2008 +0000 +++ b/engine/core/model/metamodel/grids/hexgrid.cpp Fri Jul 11 15:42:54 2008 +0000 @@ -52,6 +52,10 @@ FL_DBG(_log, LMsg("VERTICAL_MULTIP ") << VERTICAL_MULTIP); } + CellGrid* HexGrid::clone() { + return new HexGrid(this); + } + HexGrid::~HexGrid() { }