mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-01 04:14:22 +00:00
19 lines
610 B
C#
19 lines
610 B
C#
|
using System.Collections.Generic;
|
|||
|
using Microsoft.Xna.Framework.Graphics;
|
|||
|
|
|||
|
namespace ProjectZ.InGame.Things
|
|||
|
{
|
|||
|
// Maybe this was actually unnecessary and we could have just used variations of Effects.
|
|||
|
// Currently we do not need to dynamically set the parameters and only use this for the damage shader that has 2 variants.
|
|||
|
public class SpriteShader
|
|||
|
{
|
|||
|
public Effect Effect;
|
|||
|
public Dictionary<string, float> FloatParameter = new Dictionary<string, float>();
|
|||
|
|
|||
|
public SpriteShader(Effect effect)
|
|||
|
{
|
|||
|
Effect = effect;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|