using GLFWDotNet; using StgSharp; using System; using System.Collections.Generic; using System.Drawing; using System.Security.Cryptography; using System.Text; namespace StgSharp { public class Point: INode { internal StgSharp.ContainerNode _id; internal float _x; internal float _y; public GetLocationHandler getXHandler; public GetLocationHandler getYHandler; ContainerNode INode.ID { get { return this._id; } } public float X { get { return getXHandler(Control.TimeLine.tickCounter); } } public float Y { get { return getYHandler(Control.TimeLine.tickCounter); } } void INode.setID(ContainerNode id) { if (id == null) { _id = id as ContainerNode; } else { throw new ArgumentException("Cannot set id twice!"); } } } }