#NEWLINE# def get_newgame( ) : #NEWLINE# #INDENT# 'returns the game scene' #NEWLINE# scene = Scene ( ) #NEWLINE# model = GameModel ( ) #NEWLINE# ctrl = GameCtrl ( model ) #NEWLINE# hud = HUD ( ) #NEWLINE# view = GameView ( model , hud ) #NEWLINE# model . set_controller ( ctrl ) #NEWLINE# scene . add ( ctrl , z = 1 , name = 'controller' ) #NEWLINE# scene . add ( hud , z = 3 , name = 'hud' ) #NEWLINE# scene . add ( BackgroundLayer ( ) , z = 0 , name = 'background' ) #NEWLINE# scene . add ( view , z = 2 , name = 'view' ) #NEWLINE# return scene