Add duty free systems and travel stage updates
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
[Serializable]
|
||||
public class CourseProfile {
|
||||
public CourseStep[] openingSteps;
|
||||
public CourseStep[] loopSteps;
|
||||
|
||||
public CourseStep[] GetOpeningSteps() {
|
||||
return CourseStepFactory.CloneSteps(openingSteps);
|
||||
}
|
||||
|
||||
public CourseStep[] GetLoopSteps() {
|
||||
return CourseStepFactory.CloneSteps(loopSteps);
|
||||
}
|
||||
|
||||
public static CourseProfile Create(CourseStep[] openingSteps, CourseStep[] loopSteps) {
|
||||
return new CourseProfile {
|
||||
openingSteps = CourseStepFactory.CloneSteps(openingSteps),
|
||||
loopSteps = CourseStepFactory.CloneSteps(loopSteps)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user