Class FieldingChart
java.lang.Object
FieldingChart
Final result of a ball put in play
- Version:
- 3-14-24
- Author:
- L Kedigh
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFieldingResult
(String s, int roll) static void
updateStatsRuns
(int r, String type, int out) Type 1 - runs scored on a HIT Type 2 - run scored on a WALK type 3 - run scored on an ERROR type 4 - run scored on an OUT type 5 - run scored on a DP type 6 - run that is UNEARNED type 7 - run on HOME RUN type 8 - STRIKE OUT type 9 - DOUBLE type 10 - TRIPLE type 11 - FC Fielder's Choice
-
Field Details
-
tOuts
static int tOuts -
rnd
-
-
Constructor Details
-
FieldingChart
public FieldingChart()
-
-
Method Details
-
updateStatsRuns
Type 1 - runs scored on a HIT Type 2 - run scored on a WALK type 3 - run scored on an ERROR type 4 - run scored on an OUT type 5 - run scored on a DP type 6 - run that is UNEARNED type 7 - run on HOME RUN type 8 - STRIKE OUT type 9 - DOUBLE type 10 - TRIPLE type 11 - FC Fielder's Choice -
getFieldingResult
-