mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-27 08:53:32 +00:00
22 lines
670 B
C#
22 lines
670 B
C#
using Microsoft.Xna.Framework;
|
|
using ProjectZ.InGame.GameObjects.Base;
|
|
using ProjectZ.InGame.GameObjects.Base.CObjects;
|
|
using ProjectZ.InGame.Map;
|
|
|
|
namespace ProjectZ.InGame.GameObjects.Things
|
|
{
|
|
public class ObjMarinDisabler : GameObject
|
|
{
|
|
public ObjMarinDisabler() : base("marin") { }
|
|
|
|
public ObjMarinDisabler(Map.Map map, int posX, int posY) : base(map)
|
|
{
|
|
EntityPosition = new CPosition(posX, posY, 0);
|
|
EntitySize = new Rectangle(0, 0, 16, 16);
|
|
|
|
var marin = MapManager.ObjLink.GetMarin();
|
|
if (marin != null)
|
|
marin.IsHidden = true;
|
|
}
|
|
}
|
|
} |