private void CleanupLevels()
 {
     if (Level != null)
     {
         Level.Dispose();
         Level = null;
     }
 }
Beispiel #2
0
        protected RoomBase(LevelBase level)
        {
            if (level == null)
                throw new ArgumentNullException();

            Level = level;

            InitializeInternal();
        }
Beispiel #3
0
 public static RoomBase Level1Room1Factory(LevelBase level)
 {
     return new Level1Room1(level);
 }
Beispiel #4
0
 protected Level1Room1(LevelBase level)
     : base(level)
 {
 }