Mercurial > fife-parpg
comparison engine/core/view/camera.h @ 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 | ed1565a5a2a0 |
children | f27880d4c08c |
comparison
equal
deleted
inserted
replaced
339:0fd74235b34d | 340:7e5717105212 |
---|---|
79 */ | 79 */ |
80 virtual ~Camera(); | 80 virtual ~Camera(); |
81 | 81 |
82 /** Gets the identifier for this camera. | 82 /** Gets the identifier for this camera. |
83 */ | 83 */ |
84 const std::string& getId() { return m_id; } | 84 const std::string& getId() const { return m_id; } |
85 | |
86 /** Sets the identifier for this camera. | |
87 */ | |
88 void setId(const std::string& id) { m_id = id; } | |
85 | 89 |
86 /** Sets tilt for the camera. | 90 /** Sets tilt for the camera. |
87 * e.g. overhead camera has tilt 0, while traditional isometric camera has tilt 45 | 91 * e.g. overhead camera has tilt 0, while traditional isometric camera has tilt 45 |
88 * @param tilt tilt for the camera | 92 * @param tilt tilt for the camera |
89 */ | 93 */ |