"""This file is used to set up and register the state machine.""" import coda_kids as coda # setup WINDOW = coda.Vector2(800, 608) SCREEN = coda.start(WINDOW, "Demo Project 3") # states import introduction coda.state.Manager.register(introduction) coda.state.Manager.run(SCREEN, WINDOW, coda.color.BLACK)
"""This file is used to set up and register the state machine.""" import coda_kids as coda # setup WINDOW = coda.Vector2(1600, 900) SCREEN = coda.start(WINDOW, "Space Wars Tournament") # states import shooter coda.state.Manager.register(shooter) import restarter1 coda.state.Manager.register(restarter1) import restarter2 coda.state.Manager.register(restarter2) # run the game! coda.state.Manager.run(SCREEN, WINDOW, coda.color.BLACK)