Ignore:
Timestamp:
Oct 13, 2019, 5:34:57 PM (5 years ago)
Author:
chronos
Message:
  • Added: In computer AI form allow to set delay of steps computation. Set to zero means fastest processing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r37 r38  
    5757  if Core.Game.Running and not Core.Game.Moving then begin
    5858    case Key of
    59       37: Core.Game.MoveAllAndUpdate(drLeft);
    60       38: Core.Game.MoveAllAndUpdate(drUp);
    61       39: Core.Game.MoveAllAndUpdate(drRight);
    62       40: Core.Game.MoveAllAndUpdate(drDown);
     59      37: Core.Game.MoveAllAndUpdate(drLeft, True);
     60      38: Core.Game.MoveAllAndUpdate(drUp, True);
     61      39: Core.Game.MoveAllAndUpdate(drRight, True);
     62      40: Core.Game.MoveAllAndUpdate(drDown, True);
    6363    end;
    6464  end;
Note: See TracChangeset for help on using the changeset viewer.