Files
SlaveMatrix-SDL/SlaveMatrix/SlaveMatrix/BodyPartClasses/Stamp.cs
2025-05-07 10:45:18 -07:00

114 lines
1.9 KiB
C#

using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix
{
public struct sep
{
public Ele Sta;
public Ele Ele;
public Par Par;
public List<int> Path;
public Vector2D Pos;
}
//three subclasses: one for bukkake, kiss marks, and whip marks
public class Stamp
{
public Med Med;
public Are Are;
public Cha Cha;
public Bod Bod;
protected EleD EleD;
protected List<sep> sta = new List<sep>();
protected const int Max = 33;
protected Par p;
protected Color2 c2;
protected Ele he;
protected sep sep;
public virtual void Draw(Are Are)
{
}
public virtual void Add(Vector2D cp, Color hc)
{
}
public Stamp()
{
}
public Stamp(Med Med, Are Are, Cha Cha, Bod Bod, EleD EleD)
{
this.Med = Med;
this.Are = Are;
this.Cha = Cha;
this.Bod = Bod;
this.EleD = EleD;
}
public virtual void Dispose()
{
foreach (sep stum in sta)
{
stum.Sta.Dispose();
}
}
public void Clear()
{
foreach (sep stum in sta)
{
stum.Sta.Dispose();
}
sta.Clear();
}
public void Clear()
{
sep[] array = sta.Where((sep e) => e.Ele is _人 || e.Ele is _人 || e.Ele is _人).ToArray();
for (int i = 0; i < array.Length; i++)
{
sep item = array[i];
item.Sta.Dispose();
sta.Remove(item);
}
}
public bool 1(Ele e)
{
if (e != null && !(e is ) && !(e is ))
{
return !(e is );
}
return false;
}
public bool 2(Ele e)
{
if (e != null && !(e is _人) && !(e is ) && !(e is ))
{
return !(e is );
}
return false;
}
}
}