DrawTextEx(*font,"Defenders lose a soldier",(Vector2){screenWidth/2-MeasureTextEx(*font,"Defenders lose a soldier",50.0,3.0).x/2-50,600},50.0,3.0,BLACK);
DrawTextEx(*font," lose a soldier",(Vector2){screenWidth/2-300+MeasureTextEx(*font,defender->name,50.0,3.0).x,600},50.0,3.0,defender->color);
}
}
else
else
{
{
DrawTextEx(*font,"Attackers lose a soldier",(Vector2){screenWidth/2-MeasureTextEx(*font,"Attackers lose a soldier",50.0,3.0).x/2-50,600},50.0,3.0,BLACK);