public static void AddDebugMessage(Point point) { Tile tile = world.tileGrid[point.X, point.Y]; string p = tile.GetDebugString(); ScreenController.AddMessage(p, Color.White); }
public override void Update(Input input) { base.Update(input); if (townCombo.changed) { UpdateSelectedTown(); mainWorldCamera.CenterOn(selectedTown.worldLocation); } if (GetButtonPress("Test")) { debug++; ScreenController.AddMessage("This is a test message #" + debug, Color.White); } }