void setScoreText(String text) {
        if (scoreText != null) {
            removeChild(scoreText);
        }
        scoreText = new TextComponent(text, 24);
        scoreText.setTextColor(0xffffffff);
        this.addChild(scoreText, getWidth()/2 - scoreText.getWidth()/2, startGame.getTop() - scoreText.getHeight()- 10);
    }