1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Char Map[5][5] =
{
"#####",
"#@~~#",
"#~T~#",
"#~~W#",
"#####"
}
//Map = TileMap;
int TileMap[5][5] =
{
{1, 1, 1, 1, 1},
{1, 0, 2, 2, 1},
{1, 2, 4, 2, 1},
{1, 2, 2, 4, 1},
{1, 1, 1, 1, 1}
}
//then draw the map based on something like this
|