public override ICourse create(CourseState state) { loadState(state); return(this.Clone() as ICourse); }
public override void loadState(CourseState state) { this._name = state.name; this._level = state.level; this._cost = state.cost; }
abstract public void loadState(CourseState state);
abstract public ICourse create(CourseState state);
public void prepareCourse(CourseState state) { this.preparedCourse = state; }