Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private int random(int min, int max) {
- SecureRandom random = new SecureRandom();
- return (random.nextInt(max - min + 1) + min);
- }
- private boolean gameEnded() {
- InterfaceComponent gameEnd = Interfaces.getComponent(396, 3);
- if (gameEnd != null) {
- return gameEnd.getText().contains("returns in:");
- }
- return false;
- }
- private boolean readyForGame() {
- return Inventory.contains("Jug of wine") && Inventory.getCount("Jug of wine") == 10;
- }
- private boolean insideThot() {
- InterfaceComponent pts = Interfaces.getComponent(396, 7);
- if (pts != null) {
- return pts.isVisible();
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement