I have the following code which changes the color of EasternAustraliaSprite whenever the PointerRect intersects the EastAustRect.
what I want to do though is while the pointerRect intersects the EastAustRect change the color. How would i do this?
if(EasternAustraliaRect.Intersects(PointerBoxRect))
{
EasternAustraliaSprite.SetColor(sf::Color(0, 255, 0));
}