public override Drawable clone() { TextureDrawable newInst = new TextureDrawable(image.clone(), depth); newInst.scale = scale; newInst.color = color; newInst.handle = handle; return newInst; }
/* *helpers */ public void initAssets() { foreach (string str in PNGS_TO_LOAD) { textures.Add(str, FVImage.load(content, str)); TextureDrawable tDbl = new TextureDrawable(textures[str], 0.5f); tDbl.centerHandle(); dbls.Add(str, tDbl); } }