scened_app.cpp 551 B

1234567891011121314151617181920
  1. #include "scened_app.h"
  2. #include "scene/scened_app_scene_start.h"
  3. #include "scene/scened_app_scene_byte_input.h"
  4. ScenedApp::ScenedApp()
  5. : scene_controller{this}
  6. , text_store{128}
  7. , notification{"notification"} {
  8. }
  9. ScenedApp::~ScenedApp() {
  10. }
  11. void ScenedApp::run() {
  12. scene_controller.add_scene(SceneType::Start, new ScenedAppSceneStart());
  13. scene_controller.add_scene(SceneType::ByteInputScene, new ScenedAppSceneByteInput());
  14. notification_message(notification, &sequence_blink_green_10);
  15. scene_controller.process(100);
  16. }