Advertisement
Guest User

Untitled

a guest
May 17th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. // toms stuff
  2. HashMap<String, Polyline> Hex = new HashMap<String, Polyline>();
  3. double RC;
  4. double boxWidth;
  5. double boxHeight;
  6. int lineWidth = 0;
  7. int lineHeight = 0;
  8. int color = 0;
  9. double screenWidth = scene.getWidth();
  10. double screenHeight = scene.getHeight();
  11. int Lines = 11;
  12. float sizeBox = 1.5f;
  13. int StepSize = (int) calculateStepSize(Lines, sizeBox);
  14. boolean devButtonPressed = true;
  15. boolean cityBuilder = false;
  16. boolean roadBuilder = false;
  17. boolean villageBuilder = false;
  18. ArrayList<Line> arrayLines = new ArrayList<>();
  19. databaseConnection Tiles = new databaseConnection("jdbc:mysql://databases.aii.avans.nl/sficken_db", "sficken",
  20. "Ab12345");
  21. ArrayList<String> colorOfTiles = Tiles.select("SELECT * FROM tegel;", "idgrondstofsoort");
  22. String[] colorOfTile = colorOfTiles.toArray(new String[19]);
  23.  
  24. ArrayList<String> xCordsString = Tiles.select("SELECT * FROM tegel;", "x");
  25. String[] StringxCords = xCordsString.toArray(new String[19]);
  26.  
  27. ArrayList<String> yCordsString = Tiles.select("SELECT * FROM tegel;", "y");
  28. String[] StringyCords = yCordsString.toArray(new String[19]);
  29.  
  30. int[] xCords = new int[19];
  31. int[] yCords = new int[19];
  32. boolean townBuilderPressed = true;
  33. boolean isCity = false;
  34. boolean isVillage = false;
  35. ArrayList<Circle> townCircles = new ArrayList<Circle>();
  36. // einde tom's stuff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement