ParticleEffectImporter.h 806 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  3. // LICENSE: Atomic Game Engine Editor and Tools EULA
  4. // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
  5. // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
  6. //
  7. #pragma once
  8. #include "AssetImporter.h"
  9. namespace ToolCore
  10. {
  11. class ParticleEffectImporter : public AssetImporter
  12. {
  13. OBJECT(ParticleEffectImporter);
  14. public:
  15. /// Construct.
  16. ParticleEffectImporter(Context* context, Asset* asset);
  17. virtual ~ParticleEffectImporter();
  18. virtual void SetDefaults();
  19. Resource* GetResource(const String& typeName);
  20. protected:
  21. bool Import();
  22. virtual bool LoadSettingsInternal(JSONValue& jsonRoot);
  23. virtual bool SaveSettingsInternal(JSONValue& jsonRoot);
  24. };
  25. }