Example #1
0
        public static void AddDebugMessage(Point point)
        {
            Tile   tile = world.tileGrid[point.X, point.Y];
            string p    = tile.GetDebugString();


            ScreenController.AddMessage(p, Color.White);
        }
Example #2
0
        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);
            }
        }