public Menu()
 {
     isRunning   = true;
     state       = State.OPTIONS;
     zombies     = new List <Zombie>();
     create      = new Create(ref zombies);
     demo        = new Demo(ref zombies);
     damageValue = 25;
     printing    = new Printing();
 }
Beispiel #2
0
 public Demo(ref List <Zombie> zombies)   //constructor
 {
     this.zombies  = zombies;
     this.printing = new Printing();
 }
 public Create(ref List <Zombie> zombies)
 {
     this.isRunning = true;
     this.zombies   = zombies;
     this.printing  = new Printing();
 }