troptrop

bot shit

Mar 30th, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. for (int i = 0; i < 2; i++)
  2. {
  3. for (int j = 0; j <= 2; j++)
  4. {
  5. mtMortar[3 + i, 21 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Right, NextTile = mtMortar[4 + i, 21 + j], NextEdgeset = 0, Cost = 8 });
  6. mtMortar[3 + i, 21 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Right | Action.A, NextTile = mtMortar[4 + i, 21 + j], NextEdgeset = 0, Cost = 8 });
  7. mtMortar[4 + i, 21 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Left, NextTile = mtMortar[3 + i, 21 + j], NextEdgeset = 0, Cost = 8 });
  8. mtMortar[4 + i, 21 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Left | Action.A, NextTile = mtMortar[3 + i, 21 + j], NextEdgeset = 0, Cost = 8 });
  9. }
  10. }
  11.  
  12. for (int i = 0; i <= 2; i++)
  13. {
  14. for (int j = 0; j < 2; j++)
  15. {
  16. mtMortar[3 + i, 21 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Down, NextTile = mtMortar[3 + i, 22 + j], NextEdgeset = 0, Cost = 8 });
  17. mtMortar[3 + i, 21 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Down | Action.A, NextTile = mtMortar[3 + i, 22 + j], NextEdgeset = 0, Cost = 8 });
  18. mtMortar[3 + i, 22 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Up, NextTile = mtMortar[3 + i, 21 + j], NextEdgeset = 0, Cost = 8 });
  19. mtMortar[3 + i, 22 + j].AddEdge(0, new Edge<GscTile>() { Action = Action.Up | Action.A, NextTile = mtMortar[3 + i, 21 + j], NextEdgeset = 0, Cost = 8 });
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment