connections

This commit is contained in:
2026-05-20 16:34:39 +02:00
parent 70bba45b8a
commit 661e62e8b8
35 changed files with 1039 additions and 258 deletions

19
NoduleConnection.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
namespace NodeWar;
public class NoduleConnection
{
public Nodule A { get; set; }
public Nodule B { get; set; }
protected bool Equals(NoduleConnection other)
{
return Equals(A, other.A) && Equals(B, other.B);
}
public override int GetHashCode()
{
return HashCode.Combine(A, B);
}
}