static void Main(string[] args) { Console.Out.WriteLine("Starting up"); Frodo frodo = new Frodo(); frodo.ReadyToRun(); frodo.Shutdown(); Console.Out.WriteLine("Shutting down"); }
private void InitializeMonsters() //initializes monsters and adds them to a list { NiceOldLady niceOldLady = new NiceOldLady(); Greta greta = new Greta(); Ghandi ghandi = new Ghandi(); MLK mLK = new MLK(); ObiWan obiWan = new ObiWan(); Superman superman = new Superman(); Frodo frodo = new Frodo(); Batman batman = new Batman(); McFly mcFly = new McFly(); HarryPotter harryPotter = new HarryPotter(); TrashMob trashMob = new TrashMob(); listOfSpecialMonsters.AddRange(new Monster[] { greta, niceOldLady, ghandi, mLK, obiWan, superman, frodo, batman, mcFly, harryPotter }); List <Monster> listToShuffle = new List <Monster>() { greta, niceOldLady, ghandi, mLK, obiWan, superman, frodo, batman, mcFly, harryPotter }; //randomizes monsters to a new list so that the player doesnt always meet them in the same order int i = listToShuffle.Count; while (i > 0) { if (random.Next(10) <= 7) { listOfMonsters.Add(trashMob); } else { i--; int listIndex = random.Next(i + 1); listOfMonsters.Add(listToShuffle[listIndex]); listToShuffle.RemoveAt(listIndex); } } }
public void WornBy(Frodo frodo) { }
public string PostTwo(Frodo frodo1, Frodo frodo2) { return(null); }
public string PostName(Frodo frodo) { return(null); }
public string PostAddress(Frodo frodo, Address address) { return(null); }
public string PostName(Frodo frodo) { return null; }
public void GetFrodo(Frodo frodo) { }
public string PostTwo(Frodo frodo1, Frodo frodo2){ return null;}
public string PostAddress(Frodo frodo, Address address) { return null; }
public string PostAddress(Frodo frodo, Address address) => null;
public string PostName(Frodo frodo) => null;
public string PostTwo(Frodo frodo1, Frodo frodo2) => null;