123456789
void Grid::setTraps(int x, int y){ traps = 0; cout << traps; trapX[traps] = x; cout << traps; trapY[traps] = y; cout << traps; grid[y][x] = 'T'; }