properties inheritence
DEVELOPING
heritage vol
heritage vol(id)
Returns the volume identifier id whose properties inherite.
hetitage vol(id1)=id2
Makes volume id to heritate of volume 2 properties.
type1 obj id1=heritage type2 obj id2
Makes the property type1 n1 heiress property type2 n2 of the object id2.
Examples:
col vol(1)=heritage col vol(2);
Makes volume 1 to heritate of the property couleur of volume 2.
illum vol(1)=heritage illum vol(2);
Makes volume 1 to heritate of the property illum of volume 2.
col vol(1)=heritage col light(2);
Makes volume 1 to heritate of color of light 2.