LADXHD/InGame/GameObjects/Things/ObjShadowDisabler.cs

19 lines
464 B
C#
Raw Normal View History

2023-12-14 22:21:22 +00:00
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;
}
}
}