public void TestInit()
 {
     _unit = Unit.Create();
     _unitHolder = UnitHolder.Create();
     _unitChangedEventFired = false;
     _unitHolder.UnitChanged += UnitHolderOnUnitChanged;
 }
Exemple #2
0
 public void Init(IField field, int x, int y)
 {
     _unitHolder = field[x, y];
     _unitHolder.UnitChanged += UnitHolderOnUnitChanged;
 }