1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
int temp [][] = {
{1,1,1,0,1,1,1,1,1,9,0,0,0,0,0,0,0,0,0,0},
{1,0,1,0,1,0,0,3,1,9,0,0,0,0,0,0,0,0,0,0},
{1,0,1,1,1,0,1,1,1,9,0,0,0,0,0,0,0,0,0,0},
{1,0,0,0,0,0,0,1,0,9,0,0,0,0,0,0,0,0,0,0},
{1,1,1,0,1,1,0,1,0,9,0,0,0,0,0,0,0,0,0,0},
{1,0,0,0,1,1,0,1,0,9,0,0,0,0,0,0,0,0,0,0},
{1,2,1,0,0,0,0,1,0,9,0,0,0,0,0,0,0,0,0,0},
{1,1,1,1,1,1,1,1,1,9,8,0,0,0,0,0,0,0,0,0},
};
for ( int i = 0; i < 20; i++ ){
for ( int j = 0; j < 20; j++ ){
dungeonWalls[i][j] = temp[i][j];
}
}
|