Program Listing for File static_point_light_component.h¶
↰ Return to documentation for file (rootex/framework/components/visual/light/static_point_light_component.h
)
#pragma once
#include "common/common.h"
#include "component.h"
#include "point_light_component.h"
class StaticPointLightComponent : public PointLightComponent
{
COMPONENT(StaticPointLightComponent, Category::Light);
public:
StaticPointLightComponent::StaticPointLightComponent(Entity& owner, const JSON::json& data);
~StaticPointLightComponent() = default;
void draw() override;
};
DECLARE_COMPONENT(StaticPointLightComponent);