sbiermanlytle / iioEngine

iio Engine: A JavaScript game engine for HTML5 Canvas
http://iioengine.com
455 stars 81 forks source link

Confusion between x|c and y|r in documentation #19

Closed judu closed 10 years ago

judu commented 10 years ago

The grid's documentation reads: "cells: a matrix representing the coordinates of this grid. Cells are indexed as [row][column]". Where row is y and column is x. But in the code, cells are actually indexed as [column][row](tested in 1.2.2). I would advise the use of either [x][y] or [column][row] everywhere te be clear.

sbiermanlytle commented 10 years ago

The documentation is wrong, it will be corrected for 1.3.