static void Main(string[] args) { GoldenMushroom goldenMushroom1 = new GoldenMushroom(); goldenMushroom1.itemoutput(); Bananas banana1 = new Bananas(); banana1.itemoutput(); Coin coin1 = new Coin(); coin1.itemoutput(); }
static void Main(string[] args) { Character myBaseCharacter = new Character(); Mushroom myMushroom = new Mushroom(); myMushroom.Growth(); Console.WriteLine(myMushroom.point + " " + myMushroom.points + " " + myMushroom.point1); GoldenMushroom myGoldenMushroom = new GoldenMushroom(); myGoldenMushroom.Speed(); Console.WriteLine(myGoldenMushroom.speed1 + " " + myGoldenMushroom.speed + " " + myGoldenMushroom.speed2); Star myStar = new Star(); myStar.Invincible(); Console.WriteLine(myStar.Uspeed1 + " " + myStar.Uspeed + " " + myStar.Uspeed2); }