public void Setup()
        {
            Tester = new CellEdgeCollection();

            Tester.Add(new CellEdge(c1, c3, new Passable()));
            Tester.Add(new CellEdge(c1, c4, new Passable()));

            Tester.Add(new CellEdge(c2, c3, new Impassable()));
            Tester.Add(new CellEdge(c2, c4, new Passable()));

            Tester.Add(new CellEdge(c3, c4, new Passable()));
        }
Exemplo n.º 2
0
 public void Init(Cell3D polygon)
 {
     Polygon = polygon;
     Edges = new CellEdgeCollection();
 }