Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- long starttime;
- long endtime;
- //Onbutton {
- // You might have to convert the time into the timeformat you want to calculate with
- starttime = buttone.getsubmittedStuffEndTime();
- endtime = button.getSubmittedStuffEndTime();
- long totaltime = Math.abs(starttime, endtime);
- int amount = 3600/totaltime;
- System.out.Print("In one hour there will be produced around " + amount + " tiles");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement