hedgewars/uAIAmmoTests.pas
changeset 8744 6c87486fd89b
parent 8370 0c79946e96f8
child 8751 4609823efc94
equal deleted inserted replaced
8743:0097855532f6 8744:6c87486fd89b
  1169     ap.Time:= 0;
  1169     ap.Time:= 0;
  1170     ap.Power:= BadTurn; // use it as max score value in checkCakeWalk
  1170     ap.Power:= BadTurn; // use it as max score value in checkCakeWalk
  1171 
  1171 
  1172     //FillChar(cake, sizeof(cake), 0);
  1172     //FillChar(cake, sizeof(cake), 0);
  1173     cake.Radius:= 7;
  1173     cake.Radius:= 7;
  1174     cake.CollisionMask:= $FF7F;
  1174     cake.CollisionMask:= lfCurrentMask;
  1175     cake.Hedgehog:= Me^.Hedgehog;
  1175     cake.Hedgehog:= Me^.Hedgehog;
  1176 
  1176 
  1177     // check left direction
  1177     // check left direction
  1178     cake.Angle:= 3;
  1178     cake.Angle:= 3;
  1179     cake.dX.isNegative:= true;
  1179     cake.dX.isNegative:= true;