public NodeDrawerControl()
        {
            InitializeComponent ();

            _NodeManager = new NodeManager ();

            _Step = new System.Timers.Timer (1000 / 60);
            _Step.Enabled = true;
            _Step.Elapsed += (s, e) => {
                _NodeManager.Step ();
                Invalidate ();
            };
        }
Пример #2
0
 public Node(NodeManager nodeManager)
 {
     _NodeManager = nodeManager;
 }