public override void Eat(LittlePerson littlun)
 {
     Console.WriteLine("{0} ate a friggin {1}!!", this.GetType().Name, littlun.GetType().Name);
 }
 public GoverningBody(DangerZoneFactory factory)
 {
     _bigwig       = factory.CreateBigWig();
     _littlePerson = factory.CreateLittlePerson();
 }
Exemplo n.º 3
0
 public abstract void Eat(LittlePerson littlun);