Exemple #1
0
        /** PRIVATE FUNCTIONS **/

        private void onGateOpened(Gate gate)
        {
            if (this.Gate == gate)
            {
                Gate.ForceOpen(false);
                setCompletedInner(true);
            }
        }
Exemple #2
0
 /// <summary>
 /// Forces completion of this <c>Mission</c>.
 /// This function should not be used in standard scenarios.
 /// </summary>
 public void ForceComplete()
 {
     Gate.ForceOpen(true);
 }