public override IPoolable Copy() { BoolPara para = pool.Spawn(true) as BoolPara; para.SetName(this.name); para.SetValue((bool)this.value); para.SetTemp(true); return /*new com.wd.free.para.BoolPara(this.name, (bool)this.value)*/ (para); }
static ParaUtil() { map = new MyDictionary <string, IPara>(); map["string"] = new StringPara(); map["int"] = new IntPara(); map["long"] = new LongPara(); map["bool"] = new BoolPara(); map["float"] = new FloatPara(); map["double"] = new DoublePara(); }