public setReputation ( Clique clique, int repPoints ) : void | ||
clique | Clique | |
repPoints | int | |
return | void |
public void setReputation(Clique clique, int repPoints)
{
switch (clique)
{
case Clique.Nerd: nerdRep += repPoints; break;
case Clique.Jock: jockRep += repPoints; break;
case Clique.Prep: prepRep += repPoints; break;
case Clique.Bully: bullyRep += repPoints; break;
case Clique.Slacker: slackerRep += repPoints; break;
}
}