Changeset 213 for trunk/UGame.pas
- Timestamp:
- May 24, 2018, 9:25:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r211 r213 331 331 function SetMove(CellFrom, CellTo: TCell; Power: Integer; Confirmation: Boolean = True): TUnitMove; 332 332 procedure Reset; 333 procedure Surrender; 333 334 function IsAlive: Boolean; 334 335 procedure Clear; … … 2526 2527 end; 2527 2528 2529 procedure TPlayer.Surrender; 2530 var 2531 I: Integer; 2532 begin 2533 Moves.Clear; 2534 for I := 0 to PlayerMap.Cells.Count - 1 do 2535 if PlayerMap.Cells[I].MapCell.Player = Self then 2536 PlayerMap.Cells[I].MapCell.Player := nil; 2537 end; 2538 2528 2539 function TPlayer.IsAlive: Boolean; 2529 2540 begin
Note:
See TracChangeset
for help on using the changeset viewer.