Пример #1
0
        public static int get_cmd(cmd_context context, bool wait)
        {
            if (context == cmd_context.CMD_BIRTH)
            {
                return(UIBirth.get_birth_command(wait));
            }
            else if (context == cmd_context.CMD_GAME)
            {
                TextUI.process_command(!wait);
            }

            /* If we've reached here, we haven't got a command. */
            return(1);
        }