//Takes in a string, examines it for rolling method options //Then returns the chopped string private string DecideRollingMethod(string stringToExamine) { string localCopy = stringToExamine; if (localCopy.Contains('i')) { rollingMethod = RollingMethod.individual; localCopy = localCopy.Replace("i", ""); localCopy = localCopy.Replace("t", ""); } else if (localCopy.Contains('t')) { rollingMethod = RollingMethod.total; localCopy = localCopy.Replace("i", ""); localCopy = localCopy.Replace("t", ""); } return localCopy; }
public CharacterBuilder() { Method = RollingMethod.Simple; AbilityScores = new Hashtable(6); }
//Just creates a new DiceHandler public DiceHandler() { rollingMethod = RollingMethod.total; }