public override Destroyer CreateDestroyer(int x, int y, bool horizontal)
        {
            MediumDestroyer new_destroyer = (MediumDestroyer)destroyer_instance.DeepClone();

            new_destroyer.X = x;
            new_destroyer.Y = y;
            new_destroyer.Rotate(horizontal);
            return(new_destroyer);
        }
 public MediumShipFactory(string token, string roomId)
     : base(token, roomId)
 {
     destroyer_instance = new MediumDestroyer(token, roomId, 0, 0, false);
     submarine_instance = new MediumSubmarine(token, roomId, 0, 0, false);
 }