1 2 3 4 5 6 7 8 9
|
char Map[4][6] = {'X','X','X','X','X','X',
'X','X','X','X','X','X',
'X','X','2','X','X','X',
'X','X','X','X','X','X'};
//First dimension = y values
//Second Dimension = x values
//So it can be thought of as Map[Y][X]
//Each time the map is redrawn, you will need to not draw the char
//that has the same X&Y as your character has. Instead of drawing that char, draw your character char
|