summaryrefslogtreecommitdiffstats
path: root/Room.h
blob: 18dc68718113b9fc7f2a73862cb217e72172aa8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef ROOM_H_
#define ROOM_H_

#include "Polygon.h"
#include <string>


class Room : public Polygon {
  private:
    std::string name;
    float height;
    
  public:
    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_*/