tileInstanceProperties = new Properties[bounds.height][bounds.width];
if (tileInstanceProperties != null) { tileInstanceProperties.clear(); }
    protected void setBounds(Rectangle bounds) {        super.setBounds(bounds);        map = new Tile[bounds.height][bounds.width];        tileInstanceProperties = new Properties[bounds.height][bounds.width];    }