comparison engine/core/model/structures/map.i @ 549:c9113e23b004

*Removed the ExactModellCoordinate object from the camera constructor. Attention: Little API change to the camera/map.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 11 Jun 2010 21:29:58 +0000
parents 9d94f4676d17
children 69ef061db940
comparison
equal deleted inserted replaced
548:f45e3e2995e0 549:c9113e23b004
74 74
75 void addChangeListener(MapChangeListener* listener); 75 void addChangeListener(MapChangeListener* listener);
76 void removeChangeListener(MapChangeListener* listener); 76 void removeChangeListener(MapChangeListener* listener);
77 bool isChanged(); 77 bool isChanged();
78 std::vector<Layer*>& getChangedLayers(); 78 std::vector<Layer*>& getChangedLayers();
79 Camera* addCamera(const std::string& id, Layer *layer, const Rect& viewport, const ExactModelCoordinate& emc); 79 Camera* addCamera(const std::string& id, Layer *layer, const Rect& viewport);
80 void removeCamera(const std::string& id); 80 void removeCamera(const std::string& id);
81 Camera* getCamera(const std::string& id); 81 Camera* getCamera(const std::string& id);
82 std::vector<Camera*>& getCameras(); 82 std::vector<Camera*>& getCameras();
83 }; 83 };
84 } 84 }