Changeset 247 for trunk/UMap.pas
- Timestamp:
- Sep 22, 2018, 1:27:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UMap.pas
r244 r247 134 134 TMap = class 135 135 private 136 FSize: TPoint;137 136 function GetPixelRect: TRect; 138 137 function GetSize: TPoint; virtual; 139 138 function SearchDifferentCellArea(List: TCells; SourceArea, 140 139 DestArea: TMapArea): TCell; 141 procedure SetSize(AValue: TPoint); virtual;142 140 protected 141 FSize: TPoint; 143 142 FPixelRect: TRect; 144 143 FNewCellId: Integer; 145 144 function GetNewCellId: Integer; virtual; 146 145 procedure SortNeighborsByAngle; 146 procedure SetSize(AValue: TPoint); virtual; 147 147 public 148 148 Game: TObject; //TGame; … … 563 563 // Do not assign Game field 564 564 MaxPower := Source.MaxPower; 565 Cyclic := Source.Cyclic; 565 566 Size := Source.Size; 566 567 DefaultCellSize := Source.DefaultCellSize; 567 568 Shape := Source.Shape; 568 569 Image.Picture.Bitmap.Assign(Source.Image.Picture.Bitmap); 569 Cyclic := Source.Cyclic;570 570 571 571 // TODO: How to copy cells
Note:
See TracChangeset
for help on using the changeset viewer.