Changeset 223 for trunk/UGameClient.pas


Ignore:
Timestamp:
Jul 14, 2018, 7:21:43 PM (6 years ago)
Author:
chronos
Message:
  • Modified: CellMoves moved from terrain map to player map. Every player should have own moves to avoid affecting moves of different player.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGameClient.pas

    r220 r223  
    3333    procedure SetForm(AValue: TForm);
    3434    procedure SetGame(AValue: TGame);
    35     procedure PlayerMove(CellFrom, CellTo: TCell; var CountOnce, CountRepeat: Integer;
     35    procedure PlayerMove(CellFrom, CellTo: TPlayerCell; var CountOnce, CountRepeat: Integer;
    3636      Update: Boolean; var Confirm: Boolean);
    3737    procedure SetOnMove(AValue: TMoveEvent);
     
    124124end;
    125125
    126 procedure TClient.PlayerMove(CellFrom, CellTo: TCell; var CountOnce,
     126procedure TClient.PlayerMove(CellFrom, CellTo: TPlayerCell; var CountOnce,
    127127  CountRepeat: Integer; Update: Boolean; var Confirm: Boolean);
    128128begin
Note: See TracChangeset for help on using the changeset viewer.