00001 /* $Id: world.hpp jjs $ */ 00002 /* 00003 Copyright (C) 2007 by Jurjen Stellingwerff <jurjen@stwerff.xs4all.nl> 00004 Part of the Moros Project http://moros.sourceforge.net/ 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License. 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY. 00010 00011 See the COPYING file for more details. 00012 */ 00013 #ifndef WORLD_H 00014 #define WORLD_H 00015 00016 #include <string> 00017 #include <map> 00018 00019 #include "room.h" 00020 #include "member.h" 00021 00022 00023 class world { 00024 public: 00026 std::string name; 00028 std::map<std::string, room> room_names; 00030 std::map<std::string, member*> members; 00031 world(std::string worldname="") { 00032 name = worldname; 00033 } 00034 }; 00035 00036 #endif