public void StatSetter(StatSelect statType, int amount) { switch (statType) { case StatSelect.FAITH: { faith += amount; break; } case StatSelect.GOODBAD: { goodBad += amount; break; } case StatSelect.OBEDIENCE: { obedience += amount; break; } case StatSelect.RESENTMENT: { resentment += amount; break; } case StatSelect.SUICIDE: { suicide += amount; break; } case StatSelect.VIOLENCE: { violence += amount; break; } } }
//gets selected stat public int StatGetter(StatSelect statType) { switch (statType) { case StatSelect.FAITH: { return(faith); } case StatSelect.GOODBAD: { return(goodBad); } case StatSelect.OBEDIENCE: { return(obedience); } case StatSelect.RESENTMENT: { return(resentment); } case StatSelect.SUICIDE: { return(suicide); } case StatSelect.VIOLENCE: { return(violence); } } return(0); }