Ejemplo n.º 1
0
    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;
    }
Ejemplo n.º 2
0
    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;
    }
Ejemplo n.º 3
0
 public GameRuleActionUntilConditionDuration(GameRuleEventHappenedCondition grehc)
 {
     untilCondition = grehc;
 }
Ejemplo n.º 4
0
 public GameRuleActionUntilConditionDuration(GameRuleSelector ts, GameRuleEventHappenedCondition uc)
 {
     triggerSelector = ts;
     untilCondition = uc;
 }