Files
NazaraEngine/SDK/include/NDK/Components/LightComponent.hpp
Lynix 37f32bdb13 Build: Add server option, allows to compile only the server-side part of Nazara
Former-commit-id: 15080ac65f3186acf31967ae275d1aceeb2bd0dc [formerly 8eb6896afe9c6d63b5772a4c2237a6bf81c5b524]
Former-commit-id: 8f75843edf54398dcd74487829cf2af857704524
2016-06-01 13:51:32 +02:00

33 lines
867 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#pragma once
#ifndef NDK_SERVER
#ifndef NDK_COMPONENTS_LIGHTCOMPONENT_HPP
#define NDK_COMPONENTS_LIGHTCOMPONENT_HPP
#include <Nazara/Graphics/Light.hpp>
#include <NDK/Component.hpp>
namespace Ndk
{
class NDK_API LightComponent : public Component<LightComponent>, public Nz::Light
{
public:
inline LightComponent(Nz::LightType lightType = Nz::LightType_Point);
LightComponent(const LightComponent& light) = default;
~LightComponent() = default;
LightComponent& operator=(const LightComponent& light) = default;
static ComponentIndex componentIndex;
};
}
#include <NDK/Components/LightComponent.inl>
#endif // NDK_COMPONENTS_LIGHTCOMPONENT_HPP
#endif // NDK_SERVER