Skip to content

File ShapePlugin.hpp

File List > Engine > include > Plugins > ShapePlugin.hpp

Go to the documentation of this file

#ifndef ENGINE_PLUGINS_SHAPEPLUGIN_HPP_
#define ENGINE_PLUGINS_SHAPEPLUGIN_HPP_

#include "Components/Position.hpp"
#include "Components/ShapeComponent.hpp"
#include "Plugins/IPlugin.hpp"
#include "Systems/ShapeSystem.hpp"

namespace Engine {

class ShapePlugin : public IPlugin {
  public:
    void Init(Registry& registry) override;

    static void AttachToEntity(Registry& registry, Entity entity, const ShapeComponent& shape);
};

} // namespace Engine

#endif // ENGINE_PLUGINS_SHAPEPLUGIN_HPP_