public void ChangeState(IGraduateStudentState newState) { this.currentState = newState; }
public override void Start() { base.Display("What?? Starting up......"); this.currentState = new GraduateStudentSleepState(); }
public GraduateStudent(string inputName) { base.Name = inputName; this.currentState = new GraduateStudentDoResearchState(); }