public void SetState(ManagerState managerState) { this.currentManagerState = managerState; Notify(); }
public void Update() { this.managerState = this.managerSubject.GetState(); }
public ManagerSubject() { this.currentManagerState = new ManagerState(); }