export type CourtObject = { type: "ball" } & Ball export interface Ball { /** * The ball is a "ball" court object */ readonly type: "ball" /** * Percentage of the player's position to the bottom (0 means top, 1 means bottom, 0.5 means middle) */ <<<<<<< HEAD:front/tactic/CourtObjects.ts readonly bottomRatio: number /** * Percentage of the player's position to the right (0 means left, 1 means right, 0.5 means middle) */ readonly rightRatio: number ======= bottomRatio: number /** * Percentage of the player's position to the right (0 means left, 1 means right, 0.5 means middle) */ rightRatio: number >>>>>>> 7fa76bf (push for trying to resolve problem):front/tactic/Ball.ts }