public void GiveAPet(string type) { HaveAPet = true; Input input = new Input(); if(type == "Cat") X = new Cat(input.GetString("\nName")); else X = new Dog(input.GetString("\nName")); }
public void Delete() { X = null; HaveAPet = false; }