hedgewars/uAIAmmoTests.pas
changeset 7721 2b1ad418ba39
parent 7716 95117607b81a
child 7730 2013733f9ca9
equal deleted inserted replaced
7720:8e6b79a020f8 7721:2b1ad418ba39
  1107 
  1107 
  1108     ap.ExplR:= 0;
  1108     ap.ExplR:= 0;
  1109     ap.Time:= 0;
  1109     ap.Time:= 0;
  1110     ap.Power:= BadTurn; // use it as max score value in checkCakeWalk
  1110     ap.Power:= BadTurn; // use it as max score value in checkCakeWalk
  1111 
  1111 
  1112     FillChar(cake, sizeof(cake), 0);
  1112     //FillChar(cake, sizeof(cake), 0);
  1113     cake.Radius:= 7;
  1113     cake.Radius:= 7;
  1114     cake.CollisionMask:= $FF7F;
  1114     cake.CollisionMask:= $FF7F;
  1115 
  1115 
  1116     // check left direction
  1116     // check left direction
  1117     cake.Angle:= 3;
  1117     cake.Angle:= 3;