Пример #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;
 }