﻿/// <reference path="MicrosoftAjax.js" />


Type.registerNamespace("fdi");

fdi.Continent = function (name, urlName, layer, lat, lon, zoom) {
    this.Name = name;
    this.UrlName = urlName;
    this.Layer = layer;
    this.Lat = lat;
    this.Lon = lon;
    this.Zoom = zoom;
    this.Countries = new fdi.Countries();

    this.CountriesLoaded = false;
}

fdi.Continent.prototype = {
    HighLight: function(){
        fdi.ShapeUtils.HighLightShapesInLayer(this.Layer);
    },
    UnHighLight: function() {
        fdi.ShapeUtils.UnHighLightShapesInLayer(this.Layer);
    },
    Hide: function() {
        this.Layer.Hide();
    },
    Show: function() {
        this.Layer.Show();
    },


    dispose: function () {
        
    }
}

fdi.Continent.registerClass('fdi.Continent', null, Sys.IDisposable);
