Skip to main content

Course

Represents a golf course.

type Course {
frontPar: Int
backPar: Int
par: Int
frontYards: Int
frontMetres: Int
backYards: Int
backMetres: Int
totalYards: Int
totalMetres: Int
holes: [Hole]
}

Fields​

Course.frontPar ● Int scalar​

Par score for the front 9 holes.

Course.backPar ● Int scalar​

Par score for the back 9 holes.

Course.par ● Int scalar​

Par score for the entire course.

Course.frontYards ● Int scalar​

Yardage for the front 9 holes.

Course.frontMetres ● Int scalar​

Metres for the front 9 holes.

Course.backYards ● Int scalar​

Yardage for the back 9 holes.

Course.backMetres ● Int scalar​

Metres for the back 9 holes.

Course.totalYards ● Int scalar​

Total yardage for the entire course.

Course.totalMetres ● Int scalar​

Total metres for the entire course.

Course.holes ● [Hole] list object​

List of holes in the course.