JSScriptObject.h 392 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include <Atomic/Core/Object.h>
  3. namespace Atomic
  4. {
  5. /// ScriptObject makes it possible for script classes to inherit "directly" from
  6. /// Object (which is abstract) and use the event system, etc
  7. class ScriptObject : public Object
  8. {
  9. OBJECT(ScriptObject);
  10. public:
  11. /// Construct.
  12. ScriptObject(Context* context);
  13. /// Destruct.
  14. virtual ~ScriptObject();
  15. };
  16. }