Mercurial > fife-parpg
comparison 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 |
comparison
equal
deleted
inserted
replaced
339:0fd74235b34d | 340:7e5717105212 |
---|---|
52 public: | 52 public: |
53 | 53 |
54 Map(const std::string& identifier, TimeProvider* tp_master=NULL); | 54 Map(const std::string& identifier, TimeProvider* tp_master=NULL); |
55 ~Map(); | 55 ~Map(); |
56 | 56 |
57 const std::string& getId(); | 57 const std::string& getId() const; |
58 void setId(const std::string& id); | |
58 | 59 |
59 Layer* createLayer(const std::string& identifier, CellGrid* grid); | 60 Layer* createLayer(const std::string& identifier, CellGrid* grid); |
60 void deleteLayer(Layer* index); | 61 void deleteLayer(Layer* index); |
61 | 62 |
62 std::list<Layer*> getLayers() const; | 63 std::list<Layer*> getLayers() const; |