Hello, In the program there is this line
gameField[y][x] = new GameObject(x, y, isMine);
but I don't quite understand what exactly is does. Does it add at position y the indices x which is the new game object? Do the x and y from gameobject transfer to the gamefield array? If so, how is that possible to transfer information from an object to an array? Thank you!