Changeset 71 for trunk/UGame.pas


Ignore:
Timestamp:
Jul 15, 2020, 11:31:41 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Build under Lazarus 2.0.10 and FPC 3.2.0.
  • Fixed: Main menu was not translated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r70 r71  
    3434    P1, P2: TPoint;
    3535    function Increment: TPoint;
    36     function Create(P1, P2: TPoint): TArea; overload;
    37     function Create(X1, Y1, X2, Y2: Integer): TArea; overload;
     36    class function Create(P1, P2: TPoint): TArea; static; overload;
     37    class function Create(X1, Y1, X2, Y2: Integer): TArea; static; overload;
    3838  end;
    3939
     
    339339end;
    340340
    341 function TArea.Create(P1, P2: TPoint): TArea;
     341class function TArea.Create(P1, P2: TPoint): TArea;
    342342begin
    343343  Result.P1 := P1;
     
    345345end;
    346346
    347 function TArea.Create(X1, Y1, X2, Y2: Integer): TArea;
     347class function TArea.Create(X1, Y1, X2, Y2: Integer): TArea;
    348348begin
    349349  Result.P1 := Point(X1, Y1);
Note: See TracChangeset for help on using the changeset viewer.