protected override void Initialize()
        {
            nodePath = new List<Node>();
            towers = new List<Tree>();
            this.keyboard = new KeyboardManager();
            this.allTrees = new Tree[0];

            this.IsMouseVisible = true;

            cam = new Camera(this, new Vector3(6, 4, 22));

            base.Initialize();
        }
예제 #2
0
        protected override void Initialize()
        {
            this.keyboard = new KeyboardManager();

            this.grid = new Grid(ROW, COLUMN);
            matrizNodes = new Node[ROW, COLUMN];
            General.ROW = ROW;
            General.COLUMN = COLUMN;
            this.lRaffle = new List<Node>();
            this.lPathfinding = new List<Node>();

            this.pathfinding = new General();

            base.Initialize();
        }