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