예제 #1
0
 public override ICourse create(CourseState state)
 {
     loadState(state);
     return(this.Clone() as ICourse);
 }
예제 #2
0
 public override void loadState(CourseState state)
 {
     this._name  = state.name;
     this._level = state.level;
     this._cost  = state.cost;
 }
예제 #3
0
 abstract public void loadState(CourseState state);
예제 #4
0
 abstract public ICourse create(CourseState state);
예제 #5
0
 public void prepareCourse(CourseState state)
 {
     this.preparedCourse = state;
 }