public void AddExitCondition(Dlgt_V_Bool pCond) { StateGame lastGame = (StateGame)arrState [arrState.Count - 1]; //if (pCond == null) // lastGame.mExitCondition = ReturnFalse; lastGame.mExitCondition = pCond; }
public void AddExitConditionTo(Dlgt_V_Bool pCond) { // [2013:4:19:MOON] Added if (arrExitCondition == null) { arrExitCondition = new List <Dlgt_V_Bool> (); } arrExitCondition.Add(pCond); }
public void AddEntryDuringExtCond(string pName, float pTimerSet, string pType, Action pEntry, Action pDuring, Dlgt_V_Bool pCond) { AddAMemberAndEntryAction(pName, pTimerSet, pType, pEntry); StateGame lastGame = (StateGame)arrState [arrState.Count - 1]; lastGame.mDuringAction = pDuring; lastGame.mExitCondition = pCond; }
public void AddAdditionalExitConditionTo(string pName, Dlgt_V_Bool pCondition) { StateGame aObj = (StateGame)GetObjectNameOf(pName); aObj.AddExitConditionTo(pCondition); }