Ejemplo n.º 1
0
 public static bool MeetsCondition(
     GenderIsCondition condition,
     Player player,
     Event eventInstance,
     QuestBase questBase
     )
 {
     return(player.Gender == condition.Gender);
 }
Ejemplo n.º 2
0
 private void SaveFormValues(GenderIsCondition condition)
 {
     condition.Gender = (Gender)cmbGender.SelectedIndex;
 }
Ejemplo n.º 3
0
 private void SetupFormValues(GenderIsCondition condition)
 {
     cmbGender.SelectedIndex = (int)condition.Gender;
 }