private void CleanupLevels() { if (Level != null) { Level.Dispose(); Level = null; } }
protected RoomBase(LevelBase level) { if (level == null) throw new ArgumentNullException(); Level = level; InitializeInternal(); }
public static RoomBase Level1Room1Factory(LevelBase level) { return new Level1Room1(level); }
protected Level1Room1(LevelBase level) : base(level) { }