Changeset 316 for trunk/UGameClient.pas


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

Legend:

Unmodified
Added
Removed
  • trunk/UGameClient.pas

    r315 r316  
    11unit UGameClient;
    22
    3 {$mode delphi}
    4 
    53interface
    64
    75uses
    8   Classes, SysUtils, UGame, Forms, fgl, UGameProtocol, UGameServer, UCommThread,
    9   Threading, UCommFrame, UPlayer;
     6  Classes, SysUtils, UGame, Forms, Generics.Collections, UGameProtocol,
     7  UGameServer, UCommThread, Threading, UCommFrame, UPlayer;
    108
    119type
     
    7068  { TClients }
    7169
    72   TClients = class(TFPGObjectList<TClient>)
     70  TClients = class(TObjectList<TClient>)
    7371    Game: TGame;
    7472    function New(Name: string): TClient;
     
    248246  FreeAndNil(CommThread);
    249247  FreeAndNil(CommFrame);
    250   inherited Destroy;
     248  inherited;
    251249end;
    252250
Note: See TracChangeset for help on using the changeset viewer.