diff options
author | neoraider <devnull@localhost> | 2007-10-30 21:07:00 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-10-30 21:07:00 +0100 |
commit | 29ecb9c039d28768a8e5136c18ce76030e451654 (patch) | |
tree | bc20ab02abaa6a11a6d01bc849f396fd89c5bbe1 /Room.h | |
parent | 0791033f7f6b187245150e203a3cfe1a79c908d7 (diff) | |
download | zoomedit-29ecb9c039d28768a8e5136c18ce76030e451654.tar zoomedit-29ecb9c039d28768a8e5136c18ce76030e451654.zip |
zoomedit: R?ume haben jetzt eine H?he.
Diffstat (limited to 'Room.h')
-rw-r--r-- | Room.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -8,14 +8,19 @@ class Room : public Polygon { private: std::string name; + float height; + public: - Room() {} - Room(std::string name) {this->name = name;} + Room() {height = 10;} + Room(std::string name) {this->name = name; height= 10;} std::string &getName() {return name;} const std::string &getName() const {return name;} void setName(const std::string &name) {this->name = name;} + + float getHeight() const {return height;} + void setHeight(float height) {this->height = height;} }; #endif /*ROOM_H_*/ |