@Override
public void onAdd() {
addLayer(new BackgroundLayer(level.getChunks()));
DynamicLayer d = addLayer(new DynamicLayer());
addLayer(new ForegroundLayer(level.getChunks()));
addLayer(new BlocksLayer(level.getBlocks())).setVisible(false);
for (Actor a : actors) {
if (a.getName().equals("player")) {
d.addActor(new PlayerActor(new Vector(Double.valueOf(a.getArgs()[0]), Double.valueOf(a.getArgs()[1]))));