예제 #1
0
 public void OnHomeButtonPressed(SWControllerWithState sw)
 {
     sw.ChangeState(new HomeState());
 }
예제 #2
0
 public void OnLeftButtonPressed(SWControllerWithState sw)
 {
     sw.ChangeState(new RunningState());
 }
예제 #3
0
 public void OnTouchButtonPressed(SWControllerWithState sw)
 {
     Debug.Log("Enviar a otro menú especial con configuraciones");
 }
 public void OnTouchButtonPressed(SWControllerWithState sw)
 {
     Debug.Log("Estoy en Home, no debo hacer nada por ahora.");
 }
 public void OnRightButtonPressed(SWControllerWithState sw)
 {
     sw.ChangeState(new HeartRateState());
 }
 public void OnLeftButtonPressed(SWControllerWithState sw)
 {
     sw.ChangeState(new ConfigurationState());
 }
 public void OnTouchButtonPressed(SWControllerWithState sw)
 {
     Debug.Log("Comenzar a monitorear el ritmo cardíaco");
 }
예제 #8
0
 public void OnTouchButtonPressed(SWControllerWithState sw)
 {
     Debug.Log("Comenzar a contar pasos y calorías");
 }