diff options
Diffstat (limited to 'Thronefall_1_57/Thronefall/NGS.MeshFusionPro/ICombinedObject.cs')
| -rw-r--r-- | Thronefall_1_57/Thronefall/NGS.MeshFusionPro/ICombinedObject.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Thronefall_1_57/Thronefall/NGS.MeshFusionPro/ICombinedObject.cs b/Thronefall_1_57/Thronefall/NGS.MeshFusionPro/ICombinedObject.cs new file mode 100644 index 0000000..5c2bb55 --- /dev/null +++ b/Thronefall_1_57/Thronefall/NGS.MeshFusionPro/ICombinedObject.cs @@ -0,0 +1,16 @@ +using System.Collections.Generic; + +namespace NGS.MeshFusionPro; + +public interface ICombinedObject +{ + IReadOnlyList<ICombinedObjectPart> Parts { get; } + + void Combine(IEnumerable<ICombineSource> sources); +} +public interface ICombinedObject<TCombinedPart, TCombinedSource> : ICombinedObject where TCombinedPart : ICombinedObjectPart where TCombinedSource : ICombineSource +{ + new IReadOnlyList<TCombinedPart> Parts { get; } + + void Combine(IEnumerable<TCombinedSource> sources); +} |
