Exemplo n.º 1
0
        public void Perform(Match match)
        {
            Dribbler = match.CurrentPlayer;
            Opponent = Dribbler.Team.Opponent.PickPlayerToConfrontDribbler(Dribbler);

            bool isSuccessful = Dribbler.TryDribble(Opponent);
            match.OnDribble(Opponent, isSuccessful);
            ratingAdjuster.OnDribble(Dribbler, Opponent, isSuccessful);

            CanContinue = isSuccessful;
        }