Beispiel #1
0
        public void Initialize()
        {
            Rooms.Load(this);
            Objects.Load(this);

            foreach (var obj in Rooms.All)
            {
                obj.Initialize();
            }

            foreach (var obj in Objects.All)
            {
                obj.Initialize();
            }

            OnInitialize();
        }
Beispiel #2
0
        public void Initialize()
        {
            Objects.Load(this);
            Rooms.Load(this);
            Verbs.Load();

            foreach (var obj in Rooms.All)
            {
                obj.Initialize();
            }

            foreach (var obj in Objects.All)
            {
                obj.Initialize();
            }


            Start();
        }