summaryrefslogtreecommitdiffstats
path: root/Room.h
blob: 5422e3d61dbafee2f0159464a6f6d140643f67f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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_*/