/// <summary> /// Initializes a new instance of the <see cref="BuildingObject"/> class. /// </summary> /// <param name="father">The father node.</param> /// <param name="type">The type of this node.</param> public BuildingObject(BuildingObject father, BuildingObjectType type, uint id) { this.Father = father; this.Type = type; this.Childs = new Hashtable(); this.Id = id; }
/// <summary> /// Initializes a new instance of the <see cref="BuildingObject"/> class. /// </summary> /// <param name="father">The father node.</param> /// <param name="type">The type of this node.</param> public BuildingObject(BuildingObject father, BuildingObjectType type, uint id) { this.Father = father; this.Type = type; this.Childs = new Hashtable(); this.Id = id; }
/// <summary> /// Create a new BuildingObjectLib3DS object. /// </summary> /// <param name="father">Father node</param> /// <param name="type">Type of this object</param> /// <param name="id">Id of this object</param> /// <param name="model">All models information</param> /// <param name="textures">All textures information</param> public BuildingObjectLib3DS(BuildingObjectLib3DS father, BuildingObjectType type, uint id, Lib3dsFile model, Hashtable textures) { this.Father = father; this.Type = type; this.Id = id; this.Model = model; this.Textures = textures; // Initialization this.Childs = new Hashtable(); this.Coordinate = new Vertex(); }
/// <summary> /// Create a new BuildingObjectLib3DS object. /// </summary> /// <param name="father">Father node</param> /// <param name="type">Type of this object</param> /// <param name="id">Id of this object</param> /// <param name="model">All models information</param> /// <param name="textures">All textures information</param> public BuildingObjectLib3DS(BuildingObjectLib3DS father, BuildingObjectType type, uint id, Lib3dsFile model, Hashtable textures) { this.Father = father; this.Type = type; this.Id = id; this.Model = model; this.Textures = textures; // Initialization this.Childs = new Hashtable(); this.Coordinate = new Vertex(); }