nder :: GameState -> Picture
render game = pictures pics
            where
            -- De volgorde bepaalt welke Pictures als eerste worden gerendered.
            -- Meest linkse gaan als eerste.
            pics = backgroundPics ++ enemyPics ++ playerPic
            backgroundPics = map moveBackgroundPicture (backgroundList game)
            enemyPics = map moveEnemyPicture (enemyList game)
            playerPic = [movePlayerPicture (player game)]


render :: GameState -> Picture
render game = pictures pics
            where
            -- De volgorde bepaalt welke Pictures als eerste worden gerendered.
            -- Meest linkse gaan als eerste.
            pics = backgroundPics ++ enemyPics ++ playerPic
            backgroundPics = map moveBackgroundPicture (backgroundList game)
            enemyPics = map moveEnemyPicture (enemyList game)
            playerPic = [movePlayerPicture (player game)]
render game = pictures pics
            where
            -- De volgorde bepaalt welke Pictures als eerste worden gerendered.
            -- Meest linkse gaan als eerste.
            pics = backgroundPics ++ enemyPics ++ playerPic
            backgroundPics = map moveBackgroundPicture (backgroundList game)
            enemyPics = map moveEnemyPicture (enemyList game)
            playerPic = [movePlayerPicture (player game)]