Ahmed780 wrote...
Is this correct?
<< Code Omitted >>
transitionToWorld( new EndScreenWorld(0));
java.util.List scoreList = this.getObjects(Score.class);
java.util.List scoreList = getObjects(Score.class);
Score score = (Score)scoreList.get(0);
double scoreValue = score.getValue();
double scoreValue = ((Score)getObjects(Score.class).get(0)).getValue();
Score score = new Score();
double scoreValue = score.getValue();