00001 //-*-Mode: C++;-*- 00002 #ifndef _Room_h_ 00003 #define _Room_h_ 00004 00005 #include "MapSite.h" 00006 #include "global.h" 00007 00008 //---- Room ----------------------------------------------------------- 00009 00010 // Vorwaertsdeklaration 00011 class ObjectArray; 00012 00013 class Room : public MapSite 00014 { 00015 public: 00016 Room(int roomNo); 00017 virtual ~Room(); 00018 00019 class MapSite* GetSide(Direction) const; 00020 int GetRoomNo() const; 00021 00022 void SetSide(Direction, class MapSite *); 00023 00024 virtual void Enter(); 00025 00026 virtual void Print(int indent = 0); 00027 00028 private: 00029 class ObjectArray *_sides; 00030 int _roomNumber; 00031 }; 00032 00033 #endif