private void DrawMap()
{
// Draw from File
for (int indexX = 0; indexX < Room.MapWidth; indexX++)
{
for(int indexY = 0; indexY < Room.MapHeight; indexY++)
{
int mapPoint = currentRoom.GetMapPoint(indexX, indexY);
if(mapPoint == -2)
{
mapPoint = 0;
}
SetGlyph(indexX, indexY, mapPoint, Color.White);
}
}
if(currentRoom.Door != null)
{
if(currentRoom.Door.Locked)
{
foreach(Point doorPoint in currentRoom.Door.DoorPoints)
{
SetGlyph(doorPoint.X, doorPoint.Y, 8, Color.White);
}
}
}
}