CChainShot::CChainShot(CWnd *pW)
{
  pWnd = pW;
  nCountTurning = 0;                 // счетчик поворотов=0
  pCOfficer = new COfficer(this);
  pCOfficer->FSetName("Офицер");
  pTBounceForOff = new CHead(pWnd,0);
  pCOfficer->pTBounce = pTBounceForOff;
                              // установить ссылку на пулю
  for (int i=1; i<=30; i++) {
    IArrayRifleman.push_back(new CRifleman(this, i, pWnd));
    IArrayBullet.push_back(new CHead(pWnd,i));
  }
  pFaceForContr = new CHead2(pWnd,77);  // лицо контролера
  pFaceForContr->FSetName("контролер");
  SetLink();
}
489