Changeset 7 for trunk/class/maze.pas
- Timestamp:
- Nov 22, 2012, 7:09:17 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 3 3 Lazes.lps 4 4 Lazes.dbg 5 Lazes
-
- Property svn:ignore
-
trunk/class/maze.pas
r1 r7 83 83 84 84 procedure ResetTags(const pValue: integer = 0); 85 procedure ResetState; 85 86 function GetCell(const pPosition: TCellPoint): TMazeCell; 86 87 function StartCell: TMazeCell; … … 211 212 212 213 procedure TMaze.ResetTags(const pValue: integer); 213 var row,col: integer; 214 var 215 row,col: integer; 214 216 begin 215 217 for row := 0 to Height-1 do 216 218 for col := 0 to Width-1 do 217 FMaze[row][col].Tag := pValue 219 FMaze[row][col].Tag := pValue; 220 end; 221 222 procedure TMaze.ResetState; 223 var 224 row,col: integer; 225 begin 226 for row := 0 to Height - 1 do 227 for col := 0 to Width - 1 do 228 FMaze[row, col].State := csEmpty; 218 229 end; 219 230
Note:
See TracChangeset
for help on using the changeset viewer.