Go to the documentation of this file.00001
00011 #ifndef RAIL_INTERACTIVE_WORLD_WORLD_H_
00012 #define RAIL_INTERACTIVE_WORLD_WORLD_H_
00013
00014 #include <interactive_world_tools/Room.h>
00015 #include <interactive_world_tools/Surface.h>
00016 #include <vector>
00017
00018 namespace rail
00019 {
00020 namespace interactive_world
00021 {
00022
00029 class World
00030 {
00031 public:
00037 World();
00038
00046 const std::vector<Room> &getRooms() const;
00047
00055 size_t getNumRooms() const;
00056
00066 const Room &getRoom(const size_t index) const;
00067
00075 void addRoom(const Room &room);
00076
00085 void removeRoom(const size_t index);
00086
00095 std::vector<const Surface *> findSurfaces(const std::string &name);
00096
00097 private:
00099 std::vector<Room> rooms_;
00100 };
00101
00102 }
00103 }
00104
00105 #endif