Ejemplo n.º 1
0
        public void SendGhostsFromOneTreeToAnother()
        {
            var trees = new TreeManager(Team.HumanYellow);

            trees.AddTree(new Vector2D(0.75f, 0.4f), Team.HumanYellow);
            trees.AddTree(new Vector2D(0.25f, 0.55f), Team.None);
        }
Ejemplo n.º 2
0
        public void ShortTreeDistance()
        {
            var trees = new TreeManager(Team.HumanYellow);

            trees.AddTree(new Vector2D(0.35f, 0.4f), Team.HumanYellow);
            trees.AddTree(new Vector2D(0.65f, 0.5f), Team.None);
        }
Ejemplo n.º 3
0
        public static void Run()
        {
            TreeManager trees = new TreeManager();

            trees.AddTree(new Point(5, 10), 5);
            trees.AddTree(new Point(10, 2), 50);
            trees.AddTree(new Point(15, 16), 100);
            trees.AddTree(new Point(20, 28), 35);
            trees.AddTree(new Point(25, 13), 53);
            trees.AddTree(new Point(2, 8), 20);
            trees.AddTree(new Point(17, 9), 25);
            trees.AddTree(new Point(24, 10), 52);

            trees.DisplayTrees();
        }
Ejemplo n.º 4
0
		public void SendGhostsFromOneTreeToAnother()
		{
			var trees = new TreeManager(Team.HumanYellow);
			trees.AddTree(new Vector2D(0.75f, 0.4f), Team.HumanYellow);
			trees.AddTree(new Vector2D(0.25f, 0.55f), Team.None);
		}
Ejemplo n.º 5
0
		public void ShortTreeDistance()
		{
			var trees = new TreeManager(Team.HumanYellow);
			trees.AddTree(new Vector2D(0.35f, 0.4f), Team.HumanYellow);
			trees.AddTree(new Vector2D(0.65f, 0.5f), Team.None);
		}