Merge branch 'team/completing' of https://codefirst.iut.uca.fr/git/IQBall/Application-Web into team/completing
continuous-integration/drone/push Build is failing Details

pull/84/head
Maël DAIM 1 year ago
commit 1efec8c0d9

@ -1,17 +0,0 @@
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)
*/
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
}

@ -1,6 +1,6 @@
export type CourtObject = { type: "ball" } & Ball
export type CourtObject = { type: "ball" } & CourtObjects
export interface Ball {
export interface CourtObjects {
/**
* The ball is a "ball" court object
*/

Loading…
Cancel
Save