Changeset 342 for trunk/Map.pas


Ignore:
Timestamp:
Dec 22, 2024, 10:52:26 AM (15 hours ago)
Author:
chronos
Message:
  • Added: More tests.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Map.pas

    r338 r342  
    55uses
    66  Classes, SysUtils, Graphics, ExtCtrls, Geometry, DOM, Generics.Collections,
    7   Generics.Defaults, Building, XML, &Unit;
     7  Generics.Defaults, Building, XML, Units;
    88
    99const
     
    162162    function IsValidIndex(Index: TPoint): Boolean; virtual;
    163163    procedure Assign(Source: TMap); virtual;
     164    function Compare(Map: TMap): Boolean;
    164165    procedure LoadFromFile(FileName: string); virtual;
    165166    procedure SaveToFile(FileName: string); virtual;
     
    539540end;
    540541
     542function TMap.Compare(Map: TMap): Boolean;
     543begin
     544  Result := True;
     545end;
     546
    541547procedure TMap.LoadFromFile(FileName: string);
    542548begin
Note: See TracChangeset for help on using the changeset viewer.