Class Pitcher
java.lang.Object
Pitcher
Contains pitcher stats and game player ratings.
- Version:
- 3-10-24
- Author:
- L Kedigh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBB()intgetBF()intgetHBP()intgetHits()doublegetIP()intgetK()intintgetLost()intgetOuts()intintintgetRuns()intgetuER()intgetWon()booleanisRested()voidresetBF()voidtoString()voidupdateBF(int val) voidupdateHBP(int val) voidupdateHits(int val) voidupdateIP(double val) voidupdateK(int val) voidupdateLost(int val) voidupdateOuts(int val) voidupdatePitchedOuts(int val) voidupdatePitchRuns(int val) voidupdateUnEarned(int val) voidupdateWalks(int val) voidupdateWon(int val)
-
Constructor Details
-
Pitcher
-
Pitcher
-
Pitcher
-
Pitcher
-
-
Method Details
-
updateWon
public void updateWon(int val) -
updateLost
public void updateLost(int val) -
updateIP
public void updateIP(double val) -
updateHits
public void updateHits(int val) -
updatePitchRuns
public void updatePitchRuns(int val) -
updateUnEarned
public void updateUnEarned(int val) -
updateK
public void updateK(int val) -
updateWalks
public void updateWalks(int val) -
updateHBP
public void updateHBP(int val) -
updateOuts
public void updateOuts(int val) -
updatePitchedOuts
public void updatePitchedOuts(int val) -
updateBF
public void updateBF(int val) -
resetBF
public void resetBF() -
resetRested
public void resetRested() -
getWon
public int getWon() -
getLost
public int getLost() -
getIP
public double getIP() -
getHits
public int getHits() -
getRuns
public int getRuns() -
getK
public int getK() -
getBB
public int getBB() -
getHBP
public int getHBP() -
getBF
public int getBF() -
getuER
public int getuER() -
getOuts
public int getOuts() -
getPitchedOuts
public int getPitchedOuts() -
getLastName
-
getPitchingSide
-
getPitchingFactor
public int getPitchingFactor() -
getLengthIP
public int getLengthIP() -
isRested
public boolean isRested() -
toString
-
currentTotals
-
currentTotals2
-