public PositionPlayer(PersonnalInfo _playerInfo, DefensiveAttributes _defensiveAttributes, BAT_HAND _batHand, THROW_HAND _throwHand, PlateAppearanceRatings _againstLefty, PlateAppearanceRatings _againstRighty, RawPhysicalAttributes _physicalAttributes) : base(_playerInfo, _defensiveAttributes, _throwHand) { againstLefty = _againstLefty; againstRighty = _againstRighty; physicalAttributes = _physicalAttributes; batHand = _batHand; }
public int KRate(THROW_HAND _againstHand) { if (_againstHand == THROW_HAND.LEFT) { return againstLefty.KRate; } else //else righty { return againstRighty.KRate; } }
public Player(PersonnalInfo _playerInfo, DefensiveAttributes _defensiveAttributes, THROW_HAND _throwingHand) { playerInfo = _playerInfo; defensiveAttributes = _defensiveAttributes; throwingHand = _throwingHand; }