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); }
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); }
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(); }
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); }
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); }