예제 #1
0
    def setup(self):
        self.display = Display()
        self.sound = Sound()
        self.gamestate = Gamestate()

        # given that there is some iteraction between the game view
        # and the game logic, separate the setup for both
        self.display.setup()
        self.sound.setup()
        self.gamestate.setup()