Class FieldingChartBAD
java.lang.Object
FieldingChartBAD
Final chartResult of a ball put in play
- Version:
- 3-14-24
- Author:
- L Kedigh
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
updatePlayerStats
(Runners br, PositionPlayer batter, Pitcher pitcher, int runsScored, String type, int numOfOuts) Type 1 - runs scored on a HIT case "FC1": //Bouncer Type 2 - run scored on a WALK case "FC2": //Fly Bal type 3 - run scored on an ERROR case "FC3": //Pop Foul, all hold type 4 - run scored on an OUT case "FC4": //Slow Roller Base Hit type 5 - run scored on a DP case "FC5": //Looping Fly type 6 - run that is UNEARNED case "FC6": //grasscutter type 7 - run on HOME RUN case "FC7": //Liner type 8 - STRIKE OUT case "FC8": //Drilled down the line type 9 - DOUBLE case "FC9": //Towering Fly type 10 - TRIPLE case "FC10"://Deep blas type 11 - FC fielder's choice case "FC11"://DP Results type 12 - STRIKE OUT case "FC12"://Stike Out type 13 - FOUL no out.
-
Field Details
-
teamRuns
public static int teamRuns -
FIRST
public static final int FIRST- See Also:
-
SECOND
public static final int SECOND- See Also:
-
THIRD
public static final int THIRD- See Also:
-
seedST
public static int seedST -
rnd
-
-
Constructor Details
-
FieldingChartBAD
public FieldingChartBAD()
-
-
Method Details
-
updatePlayerStats
public static void updatePlayerStats(Runners br, PositionPlayer batter, Pitcher pitcher, int runsScored, String type, int numOfOuts) Type 1 - runs scored on a HIT case "FC1": //Bouncer Type 2 - run scored on a WALK case "FC2": //Fly Bal type 3 - run scored on an ERROR case "FC3": //Pop Foul, all hold type 4 - run scored on an OUT case "FC4": //Slow Roller Base Hit type 5 - run scored on a DP case "FC5": //Looping Fly type 6 - run that is UNEARNED case "FC6": //grasscutter type 7 - run on HOME RUN case "FC7": //Liner type 8 - STRIKE OUT case "FC8": //Drilled down the line type 9 - DOUBLE case "FC9": //Towering Fly type 10 - TRIPLE case "FC10"://Deep blas type 11 - FC fielder's choice case "FC11"://DP Results type 12 - STRIKE OUT case "FC12"://Stike Out type 13 - FOUL no out. case "FC13"://foul type 14 - POP OUT case "FC14"://Pop out type 15 - HOMERUN all the way! case "FC15"://Homerun all the way type 16 - LINER DP option case "FC16"://Liner DP Option type 17 - WALK case "FC17"://Walk FC17
-