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