Наследование: GameObject, ISwitchable
        public override GameObject CreateDoor(PointF p, bool isClosed = true, float size = 1.0f)
        {
            RogueDoor rd = new RogueDoor(p, isClosed, size);

            AddGameObject(rd);
            return(rd);
        }
 public override GameObject CreateDoor(PointF p, bool isClosed = true, float size = 1.0f)
 {
     RogueDoor rd = new RogueDoor(p, isClosed, size);
     AddGameObject(rd);
     return rd;
 }