AppState_ResultScreen.h 660 B

12345678910111213141516171819202122232425262728
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. #pragma once
  4. #include "AppState_Base.h"
  5. class AppState_ResultScreen : public AppState_Base
  6. {
  7. public:
  8. URHO3D_OBJECT(AppState_ResultScreen, AppState_Base);
  9. public:
  10. AppState_ResultScreen(U3D::Context* context)
  11. : AppState_Base(context)
  12. {
  13. name_ = "Result Screen";
  14. }
  15. void OnEnter() override;
  16. void OnLeave() override;
  17. void HandleSceneUpdate(U3D::StringHash eventType, U3D::VariantMap& eventData);
  18. void ShowResultWindow();
  19. void DestroyResultWindow();
  20. void HandleResultOkButtonPressed(U3D::StringHash eventType, U3D::VariantMap& eventData);
  21. };