Пример #1
0
 public void Init()
 {
     blocks            = new IBlock[6, 7];
     blueprint         = new Blueprint(blocks);
     mockBlock         = new Mock <IBlock>();
     mockShipComponent = new Mock <IShipComponent>();
     mockObserver      = new Mock <IBlueprintObserver>();
     blueprint.AttachObserver(mockObserver.Object);
 }