public SportsObject target; //this is the object that the action happened to #endregion Fields #region Constructors public GameRuleActionWaitTimer(GameRuleEventHappenedCondition grehc, SportsObject sos, SportsObject sot, GameRuleDurationEffect grde) { condition = grehc; source = sos; target = sot; effect = grde; }
public SportsObject trigger; //this will cause the condition that ends the timer #endregion Fields #region Constructors public GameRuleActionWaitTimer(GameRuleEventHappenedCondition c, SportsObject tr, SportsObject ta, GameRuleDurationEffect e) { condition = c; trigger = tr; target = ta; effect = e; }
public GameRuleActionUntilConditionDuration(GameRuleEventHappenedCondition grehc) { untilCondition = grehc; }
public GameRuleActionUntilConditionDuration(GameRuleSelector ts, GameRuleEventHappenedCondition uc) { triggerSelector = ts; untilCondition = uc; }