Пример #1
0
 public void SetResurrectBehaviour(IResurrections newResurrectBehavior)
 {
     resurrectionBehavior = newResurrectBehavior;
 }
Пример #2
0
 public RaceBase()
 {
     treatBehavior        = new NoTreat();
     acceleratesBehavior  = new NoAccelerate();
     resurrectionBehavior = new NoResurrection();
 }