Changeset 71 for trunk/UGame.pas
- Timestamp:
- Jul 15, 2020, 11:31:41 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r70 r71 34 34 P1, P2: TPoint; 35 35 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; 38 38 end; 39 39 … … 339 339 end; 340 340 341 function TArea.Create(P1, P2: TPoint): TArea;341 class function TArea.Create(P1, P2: TPoint): TArea; 342 342 begin 343 343 Result.P1 := P1; … … 345 345 end; 346 346 347 function TArea.Create(X1, Y1, X2, Y2: Integer): TArea;347 class function TArea.Create(X1, Y1, X2, Y2: Integer): TArea; 348 348 begin 349 349 Result.P1 := Point(X1, Y1);
Note:
See TracChangeset
for help on using the changeset viewer.