Example #1
0
 public override void initConfig(Dictionary <string, object> data = null)
 {
     this.itemType = (int)(data["itemType"]);
     this._shape   = Collision.createGeom(this, new object[] { (int)(data["radius"]) });
     this.beanVO   = BeanVO.getVOByType(this.itemType);
     base.initConfig(data);
 }
Example #2
0
 public override void setData(Dictionary <string, object> data)
 {
     this.itemType = (int)(data["itemType"]);
     this.beanVO   = BeanVO.getVOByType(this.itemType);
     base.setData(data);
 }