public SimpleVertex(AbstractBlock ab) { UniqID = ab.UniqueID.ToString(); Name = ab.DebugName ?? ab.GetType().Name; LastObject = ab.LastData; debugStringList = ab.DebugStrings; }
public override bool IsAllowBlockType(AbstractBlock target) { if (target == null) return false; if (target.GetType() == typeof(BlockConnect)) return true; return true; }