@Override public void tintIcon(Image icon) { icon.tint(0, 0.5f, 1, 0.5f); }
@Override public void tintIcon(Image icon) { icon.tint(0.5f, 0.5f, 1, 0.5f); }
@Override public void tintIcon(Image icon) { icon.tint(0.5f, 0.5f, 1, 0.5f); }
@Override public void tintIcon(Image icon) { if (comboTime >= 3f){ icon.resetColor(); } else { icon.tint(0xb3b3b3, 0.5f + 0.5f*(3f + 1 - comboTime)/3f); } }
public static void greyIcon(Image icon, float startGrey, float remaining){ if (remaining >= startGrey){ icon.resetColor(); } else { icon.tint(0xb3b3b3, 0.6f + 0.3f*(startGrey - remaining)/startGrey); } }
@Override protected void onTouchUp() { if (active) { base.resetColor(); } else { base.tint( BGCOLOR, 0.7f ); } }
public void enable( boolean value ) { if (value != active) { if (value) { base.resetColor(); } else { base.tint( BGCOLOR, 0.7f ); } active = value; } } }
@Override public void tintIcon(Image icon) { if (comboTime >= 3f){ icon.resetColor(); } else { icon.tint(0xb3b3b3, 0.5f + 0.5f*(3f + 1 - comboTime)/3f); } }
public void enable( boolean value ) { if (value != active) { if (value) { base.resetColor(); } else { base.tint( BGCOLOR, 0.7f ); } active = value; } } }
@Override protected void onTouchUp() { if (active) { base.resetColorAlpha(); } else { base.tint( BGCOLOR, 0.7f ); } }
public static void greyIcon(Image icon, float startGrey, float remaining){ if (remaining >= startGrey){ icon.resetColor(); } else { icon.tint(0xb3b3b3, 0.6f + 0.3f*(startGrey - remaining)/startGrey); } }
public void enable( boolean value ) { if (value != active) { if (value) { base.resetColorAlpha(); } else { base.tint( BGCOLOR, 0.7f ); } active = value; } } }
@Override protected void onTouchUp() { if (active) { base.resetColor(); } else { base.tint( BGCOLOR, 0.7f ); } }
@Override public void tintIcon(Image icon) { icon.tint(1, 1, 0, 0.5f); if (cooldown() < 5f) greyIcon(icon, 5f, cooldown()); }
@Override public void tintIcon(Image icon) { icon.tint(1, 1, 0, 0.5f); if (cooldown() < 5f) greyIcon(icon, 5f, cooldown()); }
@Override public void tintIcon(Image icon) { icon.tint(1, 1, 0, 0.5f); if (cooldown() < 5f) greyIcon(icon, 5f, cooldown()); }
@Override public void tintIcon(Image icon) { icon.tint(1, 1, 0, 0.5f); if (cooldown() < 5f) greyIcon(icon, 5f, cooldown()); }
@Override public void enable(boolean value) { super.enable(value); if (value){ arrow.tint(1, 1, 0, 1); arrow.alpha(1f); bg.alpha(1f); } else { arrow.color(0, 0, 0); arrow.alpha(0.6f); bg.alpha(0.6f); } }
@Override public void enable(boolean value) { super.enable(value); if (value){ arrow.tint(1, 1, 0, 1); arrow.alpha(1f); bg.alpha(1f); } else { arrow.color(0, 0, 0); arrow.alpha(0.6f); bg.alpha(0.6f); } }