mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-01 04:14:22 +00:00
24 lines
606 B
C#
24 lines
606 B
C#
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;
|
|
}
|
|
}
|
|
}
|