Map
Diff: Map.cpp
- Revision:
- 4:96dca7f7f651
- Parent:
- 2:2729d17161f4
diff -r 1618532c9a2c -r 96dca7f7f651 Map.cpp --- a/Map.cpp Wed May 03 20:17:38 2017 +0000 +++ b/Map.cpp Thu May 04 06:55:43 2017 +0000 @@ -38,7 +38,8 @@ int Map::getTile(int col, int row) { - // Return value of cell at the specifed col and row + // Return value of cell at the specifed col and row using row-major indexing + // as from Alex Valavanis Bitmap library return tileMap[row * _cols + col]; }