LADXHD/InGame/GameObjects/Things/ObjShadowDisabler.cs
2023-12-14 17:21:22 -05:00

19 lines
464 B
C#

using Microsoft.Xna.Framework;
using ProjectZ.InGame.GameObjects.Base;
namespace ProjectZ.InGame.GameObjects.Things
{
class ObjShadowDisabler : GameObject
{
public ObjShadowDisabler() : base("editor shadow disabler") { }
public ObjShadowDisabler(Map.Map map, int posX, int posY) : base(map)
{
EditorColor = Color.Red;
Map.UseShadows = false;
IsDead = true;
}
}
}