is there any way that I can declare a variable for a color so that I can change the color after the amount of a counter reaches a certain point.
String color = "purple"; int timeUntilChange; act() { if(timeUntilChange > 0) { timeUntilChange = timeUntilChange - 1; } if(timeUntilChange <= 0) { changeColor(); } }