public LeaderboardScreen(Component comp, Graphics2D g2d, GameManager context) { this.component = comp; this.g2d = g2d; this.context = context; background = new ImageEntity(comp, g2d); background.load("/resources/leaderboardBackground.png"); leaderboard = context.getLeaderboard(); }