def main(argv): evManager = EventManager.EventManager() gamemodel = model.GameEngine(evManager, argv[1:]) Control = controller.Control(evManager, gamemodel) graphics = view.GraphicalView(evManager, gamemodel) gamemodel.run() return 0
def main(argv): evManager = EventManager.EventManager() gamemodel = model.GameEngine(evManager, argv[1:]) Control = controller.Control(evManager, gamemodel) interface = helper.Interface(evManager, gamemodel) graphics = view.GraphicalView(evManager, gamemodel) sound = view.Sound(evManager, gamemodel) gamemodel.run() return 0
def main(): pygame.init() ev_manager = EventManager.EventManager() gamemodel = model.GameEngine(ev_manager) Control = controller.Control(ev_manager, gamemodel) graphics = view.GraphicalView(ev_manager, gamemodel) gamemodel.run() pygame.quit() return 0
def main(argv): evManager = EventManager.EventManager() gamemodel = model.GameEngine(evManager, argv[1:5]) Control = controller.Control(evManager, gamemodel) graphics = view.GraphicalView(evManager, gamemodel, cutin=(argv[-1] != '--no-cutin'), ci_img=argv[1:5]) interface = helper.Interface(evManager, gamemodel) gamemodel.run() return 0