We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6bcf79 commit fea6662Copy full SHA for fea6662
1 file changed
Unit1.pas
@@ -53,8 +53,7 @@ procedure TForm1.FormCreate(Sender: TObject);
53
procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char);
54
begin
55
56
- Edit1.Text:= IntToStr(Karte.getPosX);
57
- Edit2.Text:= IntToStr(Karte.getPosy);
+
58
59
if (key = 'a') and Karte.prooveCoords(Karte.getPosX + 5,Karte.getPosY) then
60
@@ -103,7 +102,7 @@ procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char);
103
102
if (Key = 'x') and (abs(Bot.getDistanceY()) <= abs(Bot.getFightDistanceY())) and (abs(Bot.getDistanceX()) <= abs(Bot.getFightDistanceX())) then
104
105
106
- Timer1.Enabled:= false;
107
ShowMessage(Bot.startConversation());
108
109
Kampf := TFightSystem.Create(Form1,0,0);
0 commit comments