Пример #1
0
        public void printDebug()
        {
            GameTerminal debugTerminal = terminalManager.findTerminal("Debug");

            if (debugTerminal != null)
            {
                if (parent.debug)
                {
                    debugTerminal.clear((char)0, new RColor(255, 255, 255, 255), new RColor(0, 0, 0, 30));
                    debugTerminal.write("Playtime: " + string.Format("{0:0.00}", TCODSystem.getElapsedSeconds()) + " FPS: " + TCODSystem.getFps().ToString(), 1, 0, new RColor(255, 255, 255, 255), new RColor(0, 0, 0, 30));
                }
            }
        }