diff --git a/Concepts/Bond2D.cs b/Concepts/Bond2D.cs new file mode 100644 index 0000000..adb039e --- /dev/null +++ b/Concepts/Bond2D.cs @@ -0,0 +1,57 @@ +using System.Collections.Generic; +using System.Linq; +using Godot; +using VirtualChemDemo.Scenes; +using VirtualChemistry.Chemistry.Bonds.Implements; + +namespace VirtualChemDemo.Concepts; + +public abstract partial class Bond2D : Line2D +{ + public BaseBond BondFrom { get; set; } + public BaseBond BondTo { get; set; } + public Atom AtomFrom { get; set; } + public Atom AtomTo { get; set; } + protected Label BondTypeA { get; set; } + protected Label BondTypeB { get; set; } + /*public string TypeA { get; set; } + public string TypeB { get; set; }*/ + public int Index { get; set; } = 999; + public int Multi { get; set; } = -1; + + public override void _Ready() + { + BondTypeA = GetNode