18 lines
369 B
C#
18 lines
369 B
C#
using Encompass;
|
|
using Microsoft.Xna.Framework;
|
|
|
|
namespace KavTest.Components
|
|
{
|
|
public struct PointLightComponent : IComponent
|
|
{
|
|
public Color Color { get; }
|
|
public float Intensity { get; }
|
|
|
|
public PointLightComponent(Color color, float intensity)
|
|
{
|
|
Color = color;
|
|
Intensity = intensity;
|
|
}
|
|
}
|
|
}
|