AEPlayerApp.h 593 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <Atomic/Engine/Application.h>
  3. using namespace Atomic;
  4. namespace AtomicEditor
  5. {
  6. class AEPlayerApp : public Application
  7. {
  8. OBJECT(AEPlayerApp);
  9. public:
  10. /// Construct.
  11. AEPlayerApp(Context* context);
  12. /// Setup before engine initialization. Verify that a script file has been specified.
  13. virtual void Setup();
  14. /// Setup after engine initialization. Load the script and execute its start function.
  15. virtual void Start();
  16. /// Cleanup after the main loop. Run the script's stop function if it exists.
  17. virtual void Stop();
  18. private:
  19. };
  20. }