/// <summary>Initializes a blank Goal</summary> /// <remarks>All <see cref="Triggers"/> set to <b>"never (FALSE)"</b>, <see cref="AndOr"/> values set to <b>true</b> (OR)</remarks> public Goal() { for (int i = 0; i < 12; i++) _strings[i / 3, i % 3] = ""; for (int i = 0; i < 4; i++) { _triggers[i] = new Mission.Trigger(); _triggers[i].Condition = 10; } for (int i = 0; i < 3; i++) _andOrs[i] = true; _triggerStrings = new StringsIndexer(this); }
/// <summary>Initializes a blank Goal</summary> /// <remarks>All <see cref="Triggers"/> set to <b>"never (FALSE)"</b>, <see cref="AndOr"/> values set to <b>true</b> (OR)</remarks> public Goal() { for (int i = 0; i < 12; i++) { _strings[i / 3, i % 3] = ""; } for (int i = 0; i < 4; i++) { _triggers[i] = new Mission.Trigger(); _triggers[i].Condition = 10; } for (int i = 0; i < 3; i++) { _andOrs[i] = true; } _triggerStrings = new StringsIndexer(this); }
/// <summary>Initializes a blank Goal</summary> /// <remarks>All <see cref="Triggers"/> set to <b>"never (FALSE)"</b>, <see cref="AndOr"/> values set to <b>true</b> (OR)</remarks> public Goal() { for (int i = 0; i < 12; i++) { _strings[i / 3, i % 3] = ""; } for (int i = 0; i < 4; i++) { Triggers[i] = new Mission.Trigger() { Condition = 10 } } ; for (int i = 0; i < 3; i++) { AndOr[i] = true; } GoalStrings = new StringsIndexer(this); }