Exemple #1
0
    void Update()
    {
        testIcon.update();
        testIcon.incrementScore(10);
        currentScreen.update();

        if (currentScreen.hasNextScreen())
        {
            currentScreen = currentScreen.getNextScreen();
        }
    }