audinowho / RogueElements

Roguelike Map Generation, built to be game-agnostic.
MIT License
53 stars 8 forks source link

Add difference highlighting to debug printing #3

Open audinowho opened 5 years ago

audinowho commented 5 years ago

The functions PrintGridRoomHalls, PrintListRoomHalls, and PrintTiles in ExampleDebug.cs will only print if the string generated from the current map is different from the string generated in the previous call of the function. The differences between the previous string and the new string need to be highlighted when the new string is printed. This means changing the font color.