Changeset 316 for trunk/UUnit.pas


Ignore:
Timestamp:
Jun 19, 2024, 11:53:06 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UUnit.pas

    r315 r316  
    11unit UUnit;
    22
    3 {$mode delphi}
    4 
    53interface
    64
    75uses
    8   Classes, SysUtils, fgl, UGeometry, DOM, XML, UItemList;
     6  Classes, SysUtils, Generics.Collections, UGeometry, DOM, XML, UItemList;
    97
    108type
     
    6462  { TUnits }
    6563
    66   TUnits = class(TFPGObjectList<TUnit>)
     64  TUnits = class(TObjectList<TUnit>)
    6765    NewId: Integer;
    6866    Game: TObject; //TGame;
     
    304302destructor TUnit.Destroy;
    305303begin
    306   inherited Destroy;
     304  inherited;
    307305end;
    308306
Note: See TracChangeset for help on using the changeset viewer.