AppState_Benchmark03.h 536 B

1234567891011121314151617181920212223
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. #pragma once
  4. #include "AppState_Base.h"
  5. // Huge number of interactions between components
  6. class AppState_Benchmark03 : public AppState_Base
  7. {
  8. public:
  9. URHO3D_OBJECT(AppState_Benchmark03, AppState_Base);
  10. public:
  11. AppState_Benchmark03(U3D::Context* context);
  12. void OnEnter() override;
  13. void OnLeave() override;
  14. void CreateMolecule(const U3D::Vector2& pos, i32 type);
  15. void HandleSceneUpdate(U3D::StringHash eventType, U3D::VariantMap& eventData);
  16. };