class poligon implements axon { private var puncte:Array; private var clip:MovieClip; private var i,j,k,xuper = 0, yuper = 0, zuper = 1, zBoost = 0; private var motherCube:cub; public var style, defStyle:stil; private var vis:Boolean; public var camDist, camDist1, camDist2:Number; public var faceN:Number; public function poligon(mama:cub,freza:stil) { puncte = new Array(); clip = new MovieClip(); style = new stil(); motherCube = mama; style = freza ? freza : style; vis = true; defStyle = motherCube.style; faceN = 0; } public function adaugaPunct(a:point) // adauga puncte la array. { puncte.push(a); } public function set mc(a:MovieClip) { clip = a; clip.motherC = motherCube; //link up to the cube of creation. } public function iBlur(a:stil) { style = a; } public function oBlur() { style = defStyle; } public function rotate(q:quaternion) { for(i=0;i