public void LightTouched(ColorOfLight lightColor) { Light tempLight = litBy[lightColor]; tempLight.currentLits++; litBy[lightColor] = tempLight; CheckAndChangeOpacity(); }
public void LightLeft(ColorOfLight lightColor) { Light tempLight = litBy[lightColor]; tempLight.currentLits--; litBy[lightColor] = tempLight; CheckAndChangeOpacity(); }
public int GetLitAmount(ColorOfLight lightColor) { return(litBy[lightColor].currentLits); }