示例#1
0
文件: Room.cs 项目: csecong/Mud.Net
        public Room(Guid guid, RoomBlueprint blueprint, IArea area)
            : base(guid, blueprint.Name, blueprint.Description)
        {
            Blueprint = blueprint;
            _people   = new List <ICharacter>();
            _content  = new List <IItem>();
            Exits     = new IExit[ExitHelpers.ExitCount];

            Area = area;
            Area.AddRoom(this);
        }