public NodeDrawerControl() { InitializeComponent (); _NodeManager = new NodeManager (); _Step = new System.Timers.Timer (1000 / 60); _Step.Enabled = true; _Step.Elapsed += (s, e) => { _NodeManager.Step (); Invalidate (); }; }
public Node(NodeManager nodeManager) { _NodeManager = nodeManager; }