index Position
Converts an index to it's positional representation. Example, item at index 0 is returned as (0,0) or 6 as (1,2). This exists only for people who want a single atomic call to get inventory column and row. Doesn't throw an excception if out of bound.
Return
position representation of the index
Parameters
index
0-(Constants.INVENTORY_SIZE-1), index of inventory