public FormCanvas() { InitializeComponent(); BackColor = Color.White; DoubleBuffered = true; TheAITree = new AITree(); var uiTree = new UIDrawingBehaviorTree(TheAITree); uiTree.ClientSize = ClientSize; DoWhatDrawing = uiTree; this.Activate(); }
public UIDrawingBehaviorTree(AITree t) { Tree = t; }