Super_Hippo wrote...
Highscore is an Actor subclass, not a World subclass.public Highscore getHighscore() { return highscore; }
((MyWorld)getWorld()).getHighscore().drawText();
public Highscore getHighscore() { return highscore; }
((MyWorld)getWorld()).getHighscore().drawText();
img.drawString("Highscore: "+highscore, 10, 90);