I want to make 4 classes for 4 players. So i thought that it can be easily fixed with a for loop.
for(int i = 0; i<playerlist.size(); i++){
PlayerStats player+i = new PlayerStats(playerlist.get(i),app,0f,135f,190f,100f);
app.addGameObject(player+i);
}
This does not work.. Has anyone a solution for this problem?
Thanks in advance!