iMackshun

How I Create the NodeDisplay Objects

Jan 14th, 2017
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. NodesToDisplay = new ArrayList<NodeDisplay>();
  2. for (int i = 0; i < nodeCollection.NodeCollection.size(); i++) {
  3.     nodeCollection.NodeCollection.get(i).Reinitialize(0, game);
  4.     if (nodeCollection.NodeCollection.get(i).getNodeType().equals("Simple")) {
  5.         NodesToDisplay.add(new NodeDisplay("Simple", 0, 0, 0, 0, game.assetsLoader.SimpleNode, game.assetsLoader.CircleIndicator));
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment