Source: Thing.Extend/Objects/Province.js


/**
 * @class THING.Province
 */
class Province extends THING.BaseObject3D {

	static defaultTagArray = ['Province'];

    constructor(param) {
        super(param);
        this.id = this.name = "Province";
    }

    get isProvince() {
        return true;
    }

    get type() {
        return "Province";
    }    
    
	get cities() {
		return this.children.query('.City');
	}

	get things() {
		return this.children.query('.Thing');
	}
}

module.exports = Province;