예제 #1
0
파일: Human.cs 프로젝트: drypa/GofPatterns
 public void GetIll()
 {
     state = new IllState();
 }
예제 #2
0
파일: Human.cs 프로젝트: drypa/GofPatterns
 public void GetWell()
 {
     state = new HealthyState();
 }
예제 #3
0
 public Human(IHumanState personState)
 {
     state = personState;
 }