public final void startTile(final Attributes attributes) {
        tmpTile = new TileType();

        if (attributes.getValue("name") != null) {
            tmpTile.setName(attributes.getValue("name"));
        } else {
            tmpTile.setName("");
        }

        tmpTile.setCount(Integer.parseInt(attributes.getValue("count")));

        String img = attributes.getValue("img");
        // name is img value without '.png'
        final String tname = img.substring(0, img.lastIndexOf('.'));

        tmpTile.setFileName(tname);

        new Thread(new Runnable() {
            @Override
            public void run() {
                TileGraphic.loadImage(tname);
            }
        }).start();

        if (attributes.getValue("zombies") != null) {
            tmpTile.setZombieCount(Integer.parseInt(attributes
                    .getValue("zombies")));
        }
        if (attributes.getValue("life") != null) {
            tmpTile.setLifeCount(Integer.parseInt(attributes.getValue("life")));
        }
        if (attributes.getValue("ammo") != null) {
            tmpTile.setAmmoCount(Integer.parseInt(attributes.getValue("ammo")));
        }
    }