public void SubmitScore(int timerStar, int collectionStar, int deathStar)
{
if (timerStar > TimerStar)
{
if (timerStar > 3)
TimerStar = 3;
else if (timerStar < 0)
TimerStar = 0;
else
TimerStar = timerStar;
}
if (collectionStar > CollectionStar)
{
if (collectionStar > 3)
CollectionStar = 3;
else if (collectionStar < 0)
CollectionStar = 0;
else
CollectionStar = collectionStar;
}
if (deathStar > DeathStar)
{
if (deathStar > 3)
DeathStar = 3;
else if (deathStar < 0)
DeathStar = 0;
else
DeathStar = deathStar;
}
}