initial commit
This commit is contained in:
8
types/ThrownPitch.ts
Normal file
8
types/ThrownPitch.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
export type ThrownPitch = {
|
||||
readonly name: string;
|
||||
readonly speed: number; // in mph
|
||||
readonly spinType: "6-12" | "4-10" | "3-9" | "12-6" | "9-3" | "none";
|
||||
readonly rpm: number; // example: 6-12 with fast rpm is fastball, 6-12 with slow rpm is changeup
|
||||
readonly accuracy: number; // how likely that a ball will end up where the pitcher meant for it to.
|
||||
}
|
||||
Reference in New Issue
Block a user