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

            Level = level;

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