_20.Events.SubstitutionEvent.unresolve C# (CSharp) Method

unresolve() public method

Undoes a substitution.
public unresolve ( ) : void
return void
        public override void unresolve()
        {
            // retrieve the team given from the constructor
            Team subTeam = pac.getTeamById(teamId);

            // Does the substitution by putting in the player that was originally going out, and vice versa
            subTeam.makeSubstitution(idGoingOut, idGoingIn);
        }