22 lines
380 B
C
22 lines
380 B
C
![]() |
#ifndef ROOM_H_
|
||
|
#define ROOM_H_
|
||
|
|
||
|
#include "Polygon.h"
|
||
|
#include <string>
|
||
|
|
||
|
|
||
|
class Room : public Polygon {
|
||
|
private:
|
||
|
std::string name;
|
||
|
public:
|
||
|
Room() {}
|
||
|
Room(std::string name) {this->name = name;}
|
||
|
|
||
|
|
||
|
std::string &getName() {return name;}
|
||
|
const std::string &getName() const {return name;}
|
||
|
void setName(const std::string &name) {this->name = name;}
|
||
|
};
|
||
|
|
||
|
#endif /*ROOM_H_*/
|