void update(int delta) {
		if (isFlashing) {
			timeSinceFlashing += delta;
			if (timeSinceFlashing >= FLASH_DURATION) {
				isFlashing = false;
			}
		}
		
		
		if(wasChargingLastUpdate && !isCharging()){
			flashOnce(3, Color.white, true);
		}
		
		wasChargingLastUpdate = isCharging();
	}