If I have a class called cell, how could I create cell objects in a coordinate plane? (i.e. cell 1,1 is at x = 1 and y = 1). I would need to be able to access certain cells in the plane (i.e calling the cell at 2, 4 and getting info from it). I was thinking about being able to call it in a way like cell[x, y].
The cells have different states that are compared to the cells around them so I need a way to call specific cells in the coordinate plane.