This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/Room.h

27 lines
556 B
C
Raw Normal View History

#ifndef ROOM_H_
#define ROOM_H_
#include "Polygon.h"
#include <string>
class Room : public Polygon {
private:
std::string name;
2007-10-30 20:07:00 +00:00
float height;
public:
2007-10-30 20:07:00 +00:00
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;}
2007-10-30 20:07:00 +00:00
float getHeight() const {return height;}
void setHeight(float height) {this->height = height;}
};
#endif /*ROOM_H_*/