Changeset 55 for trunk/UEngine.pas


Ignore:
Timestamp:
Dec 24, 2022, 7:26:21 PM (23 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UEngine.pas

    r52 r55  
    11unit UEngine;
    2 
    3 {$mode delphi}{$H+}
    42
    53interface
     
    216214  { TEngine }
    217215
    218   TEngine = class
     216  TEngine = class(TComponent)
    219217  private
    220218    FActive: Boolean;
     
    248246    DrawDuration: TDatetime;
    249247    procedure CheckGameEnd;
    250     constructor Create;
     248    constructor Create(AOwner: TComponent); override;
    251249    destructor Destroy; override;
    252250    procedure ResizePlayerFrames;
     
    15211519end;
    15221520
    1523 constructor TEngine.Create;
    1524 begin
     1521constructor TEngine.Create(AOwner: TComponent);
     1522begin
     1523  inherited;
    15251524  Lock := TCriticalSection.Create;
    15261525  FBitmapLower := TBitmapTColor.Create;
Note: See TracChangeset for help on using the changeset viewer.