public Character(int Id, string Name, Sprite IcoClass, Sprite IcoRace, Gender _gender, Alligment _alligment, Races _races, Classes _classes) { id = Id; naam = Name; iconRace = IcoRace; iconClass = IcoClass; gender = _gender; alligment = _alligment; races = _races; classes = _classes; }
void ShowFate() { if (_chaotic && _evil) { alligment = Alligment.ChaoticEvil; } if (_chaotic && _normal) { alligment = Alligment.ChaoticNormal; } if (_chaotic && _good) { alligment = Alligment.ChaoticGood; } if (_neutral && _evil) { alligment = Alligment.NeutralEvil; } if (_neutral && _normal) { alligment = Alligment.NeutralNormal; } if (_neutral && _good) { alligment = Alligment.NeutralGood; } if (_lawfull && _evil) { alligment = Alligment.LawfullEvil; } if (_lawfull && _normal) { alligment = Alligment.LawfullNormal; } if (_lawfull && _good) { alligment = Alligment.LawfullGood; } Temporare.alligment = alligment; Temporare.page2 = true; }