Mercurial > fife-parpg
diff engine/core/model/structures/map.i @ 340:7e5717105212
* Added setId to Layer, Map, Object and Camera
* Added setCellGrid to Layer
* LayerTool now supports changing layer IDs and cellgrids on existing layers
* LayerTool can now create layers with hexagonal tilegrids
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 24 Aug 2009 23:08:53 +0000 |
parents | 98541d3b9220 |
children | 9d94f4676d17 |
line wrap: on
line diff
--- a/engine/core/model/structures/map.i Mon Aug 24 18:52:49 2009 +0000 +++ b/engine/core/model/structures/map.i Mon Aug 24 23:08:53 2009 +0000 @@ -54,7 +54,8 @@ Map(const std::string& identifier, TimeProvider* tp_master=NULL); ~Map(); - const std::string& getId(); + const std::string& getId() const; + void setId(const std::string& id); Layer* createLayer(const std::string& identifier, CellGrid* grid); void deleteLayer(Layer* index);