예제 #1
0
파일: Character.cs 프로젝트: winkert/DnD5e
 string getAllignment(Allignments a)
 {
     return a.GetDescription();
 }
예제 #2
0
파일: Character.cs 프로젝트: winkert/DnD5e
 /// <summary>
 /// Sets the allignment based on the string value entered.
 /// </summary>
 /// <param name="a">Name of the character allignment</param>
 public void setAllignment(string a)
 {
     pAllignment = a.ParseEnum<Allignments>();
 }