Changeset 248 for trunk/UPlayer.pas


Ignore:
Timestamp:
Sep 22, 2018, 2:35:46 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Drawing Voronoi type map in cyclic mode.
  • Fixed: Clear player cells before map cells regeneration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UPlayer.pas

    r235 r248  
    5555    procedure SaveToNode(Node: TDOMNode);
    5656    procedure Update;
     57    procedure Clear;
    5758    constructor Create;
    5859    destructor Destroy; override;
     
    422423end;
    423424
     425procedure TPlayerMap.Clear;
     426begin
     427  Cells.Clear;
     428end;
     429
    424430constructor TPlayerMap.Create;
    425431begin
     
    730736  TurnStats.Clear;
    731737  Moves.Clear;
     738  PlayerMap.Clear;
    732739end;
    733740
Note: See TracChangeset for help on using the changeset viewer.