LADXHD/InGame/GameObjects/Base/Components/LightDrawComponent.cs

24 lines
606 B
C#
Raw Normal View History

2023-12-14 22:21:22 +00:00
using Microsoft.Xna.Framework.Graphics;
using ProjectZ.InGame.Things;
namespace ProjectZ.InGame.GameObjects.Base.Components
{
public class LightDrawComponent : Component
{
public delegate void DrawTemplate(SpriteBatch spriteBatch);
public DrawTemplate Draw;
public new static int Index = 9;
public static int Mask = 0x01 << Index;
public int Layer = Values.LightLayer0;
protected LightDrawComponent() { }
public LightDrawComponent(DrawTemplate draw)
{
Draw = draw;
}
}
}