Beispiel #1
0
def main():
    parser = OptionParser()

    (options, args) = parser.parse_args()

    if len(args) != 2:
        print 'Please provide two args: config file, and updateFunc script'
        return

    print 'Config file: %s\nScript: %s' % (args[0], args[1])

    parole.startup(args[0], args[1])
Beispiel #2
0
def main():
    parser = OptionParser()

    (options, args) = parser.parse_args()

    if len(args) != 2:
        print 'Please provide two args: config file, and updateFunc script'
        return

    print 'Config file: %s\nScript: %s' % (args[0], args[1])

    parole.startup(args[0], args[1])
Beispiel #3
0
def start():
    parole.startup('testgame.cfg', main.updateFunc, caption="Parole Demo",
            gen=True)
Beispiel #4
0
def start():
    parole.startup('testgame.cfg',
                   main.updateFunc,
                   caption="Parole Demo",
                   gen=True)
Beispiel #5
0
def main():
    parole.startup('config.cfg', 'scripts/main.py', gen=True)