Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
room.h
1 
22 #ifndef ROOM_H
23 #define ROOM_H
24 #include <int_point.h>
25 #include <iostream>
26 
32 using namespace std;
33 
34 class Room
35 {
40  friend ostream& operator<<(ostream&, const Room &R);
41  private:
45  void print() const;
46 
47  public:
52 
57 
61  int height;
62 
66  int width;
67 
68 
72  Room();
73 
77  Room(const Room&);
78 
87  Room(IntPoint _tl, IntPoint _br);
88  Room(int _tl_x, int _tl_y, int _height, int _width);
89 
90 };
91 
92 #endif
Definition: int_point.h:26
int height
Definition: room.h:61
int width
Definition: room.h:66
IntPoint br
Definition: room.h:56
IntPoint tl
Definition: room.h:51
Definition: room.h:34