Ejemplo n.º 1
0
 public void setState(BellState state)
 {
     currentState = state;
 }
Ejemplo n.º 2
0
 public Bell()
 {
     currentState = new BellRingingState();
 }