Source: Thing.Extend/Objects/Earth.js


/**
 * @class THING.Earth
 */
class Earth extends THING.BaseObject3D {
    
	static defaultTagArray = ['Earth'];

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

    //可以query到的奥秘
    get isEarth() {
        return true;
    }

    get type() {
        return "Earth";
    }
    
	get provinces() {
		return this.children.query('.Province');
	}

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


module.exports = Earth;