ScriptSystem.cpp 444 B

1234567891011121314151617181920212223242526
  1. #include "ScriptSystem.h"
  2. #include "ScriptComponent.h"
  3. #include "ScriptComponentFile.h"
  4. namespace Atomic
  5. {
  6. void RegisterScriptLibrary(Context* context);
  7. ScriptSystem::ScriptSystem(Context* context) : Object(context)
  8. {
  9. RegisterScriptLibrary(context);
  10. }
  11. ScriptSystem::~ScriptSystem()
  12. {
  13. }
  14. void RegisterScriptLibrary(Context* context)
  15. {
  16. ScriptComponentFile::RegisterObject(context);
  17. ScriptComponent::RegisterObject(context);
  18. }
  19. }