//generated Class WordletFactory // Do not edit outside marked user editing areas (UEA) //------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&_gzldm|Nik|gzq2(ZK[(dgo //RCS-generated log goes here. Do not edit this UEA //$Log: WordletFactory.js,v $ //Revision 1.1 2003-04-16 14:59:14+02 bh //<> // //Revision 1.0 2001-06-06 09:47:37+02 bh //Initial revision // //<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&_gzldm|Nik|gzq2(ZK[(dgo /* * .<!> *<P> *@author $Author: bh $.<!> *@version $Revision: 1.1 $ */ //static attributes //designed operations function WordletFactory_getAny () { //------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&_gzldm|Nik|gzq(om|Ifq( ! var theRange = this.theWordlets.length - 1; var picked = Math.round(Math.random() * theRange); return this.theWordlets[picked]; //<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&_gzldm|Nik|gzq(om|Ifq( ! } //constructor function WordletFactory() { //methods this.getAny = WordletFactory_getAny; //associations //attributes //------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&_gzldm|Nik|gzqWKgf{|z}k|gz //<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&_gzldm|Nik|gzqWKgf{|z}k|gz } //superclass WordletFactory.prototype = new NamedItem;