Changeset 106 for trunk/Tile.pas
- Timestamp:
- Dec 9, 2024, 8:54:41 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tile.pas
r105 r106 12 12 13 13 TTile = class 14 public 14 15 Index: TPoint; 15 16 Value: Integer; 16 17 NewValue: Integer; 18 NewUnmergeable: Boolean; 17 19 Merged: Boolean; 18 20 Action: TTileAction; 19 21 Shift: TPoint; 20 22 Disabled: Boolean; 23 Unmergeable: Boolean; 21 24 procedure Clear; 22 25 procedure Assign(Source: TTile); … … 36 39 begin 37 40 Value := 0; 38 Action := taNone; ;41 Action := taNone; 39 42 Disabled := False; 43 Unmergeable := False; 40 44 end; 41 45 … … 46 50 Merged := Source.Merged; 47 51 Disabled := Source.Disabled; 52 Unmergeable := Source.Unmergeable; 48 53 end; 49 54 … … 55 60 WriteInteger('Value', Value); 56 61 WriteBool('Disabled', Disabled); 62 WriteBool('Unmergeable', Unmergeable); 57 63 end; 58 64 end; … … 66 72 Value := ReadIntegerWithDefault('Value', Value); 67 73 Disabled := ReadBoolWithDefault('Disabled', Disabled); 74 Unmergeable := ReadBoolWithDefault('Unmergeable', Unmergeable); 68 75 end; 69 76 end;
Note:
See TracChangeset
for help on using the changeset viewer.