@@ -0,0 +1,676 @@
+import * as PIXI from %22pixi.js%22;%0Aimport %7Bdefault as h%7D from %22../../helpers%22;%0A%0Aexport default function buttonBGDrawer(type=%22%22, x=0, y=0, status=0) %7B%0A  // not strictly a sprite in PIXI though%0A  let sprite = new PIXI.Graphics();%0A%0A  switch(status) %7B%0A    case 0:%0A      sprite.beginFill(h.colorCode.DEFAULT_BG);%0A      break;%0A    case 1:%0A      sprite.lineStyle(2, h.colorCode.SELECT_ALT_BG, 0.75);%0A      sprite.beginFill(h.colorCode.DEFAULT_BG);%0A      break;%0A    case 2:%0A      sprite.beginFill(h.colorCode.SELECT_ALT_BG);%0A  %7D%0A%0A  if(type === %22upperButtonBG%22) %7B%0A    sprite.drawRoundedRect(x,y, 40, 20, 8);%0A  %7D else %7B%0A    sprite.drawRoundedRect(x,y, 60, 20, 8);%0A  %7D%0A%0A  return sprite;%0A%7D%0A

Implement buttonBGDrawer function