3839404142434445
private void levels() { test = new TiledLevel("res/levels/level.png"); test.addTileCode(0xffffff, new GrassTile(grass.getWidth(), grass.getHeight(), grass)); test.setTileSize(32); test.addTileCode(0xff00ff, new RockTile(rock)); test.add(player); }