| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace BehaviorTree
- {
- public class TreeNode
- {
- private double x = 0.0;
- private double y = 0.0;
- private int type = 0;
- public TreeNode(double x, double y)
- {
- this.x = x;
- this.y = y;
- }
- public double X
- {
- get
- {
- return x;
- }
- set
- {
- x = value;
- }
- }
- public double Y
- {
- get
- {
- return y;
- }
- set
- {
- y = value;
- }
- }
- public int Type
- {
- get
- {
- return type;
- }
- set
- {
- type = value;
- }
- }
- }
- }
|