Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. package net.phantasiaworld.objects;
  2.  
  3. import java.util.ArrayList;
  4.  
  5. import org.bukkit.Material;
  6. import org.bukkit.entity.Player;
  7. import org.bukkit.event.Listener;
  8. import org.bukkit.inventory.Inventory;
  9.  
  10. import net.phantasiaworld.enums.AttractionState;
  11.  
  12. public class Attraction implements Listener {
  13.  
  14. private String name;
  15. private String id;
  16. private Material item;
  17. private String theme;
  18. private AttractionState state;
  19. private String reason;
  20. private ArrayList<Player> inqueue;
  21. private boolean automatic;
  22. private boolean gate;
  23. private boolean running;
  24. private int queuetime;
  25. private int timebytick;
  26. private Player player;
  27. private String symbol;
  28. private Inventory inv;
  29. private int autotime;
  30. private int waittime;
  31.  
  32. public Attraction(String name, String id, Material item, String theme, AttractionState state, String reason, ArrayList<Player> inqueue, boolean automatic, boolean gate, boolean running, int queuetime, int timebytick, Player player, String symbol, Inventory inv, int autotime, int waittime) {
  33.  
  34. this.name = name;
  35. this.id = id;
  36. this.item = item;
  37. this.theme = theme;
  38. this.state = state;
  39. this.reason = reason;
  40. this.inqueue = inqueue;
  41. this.automatic = automatic;
  42. this.gate = gate;
  43. this.running = running;
  44. this.queuetime = queuetime;
  45. this.timebytick = timebytick;
  46. this.player = player;
  47. this.symbol = symbol;
  48. this.inv = inv;
  49. this.autotime = autotime;
  50. this.waittime = waittime;
  51. }
  52.  
  53. public String getId() {
  54. return id;
  55. }
  56.  
  57. public void setId(String id) {
  58. this.id = id;
  59. }
  60.  
  61. public int getWaittime() {
  62. return waittime;
  63. }
  64.  
  65. public void setWaittime(int waittime) {
  66. this.waittime = waittime;
  67. }
  68.  
  69. public int getQueuetime() {
  70. return queuetime;
  71. }
  72.  
  73. public int getAutotime() {
  74. return autotime;
  75. }
  76.  
  77. public void setAutotime(int autotime) {
  78. this.autotime = autotime;
  79. }
  80.  
  81. public void setQueuetime(int queuetime) {
  82. this.queuetime = queuetime;
  83. }
  84.  
  85. public ArrayList<Player> getInqueue() {
  86. return inqueue;
  87. }
  88.  
  89. public AttractionState getState() {
  90. return state;
  91. }
  92.  
  93. public Boolean isAutomatic() {
  94. return automatic;
  95. }
  96.  
  97. public Boolean isGate() {
  98. return gate;
  99. }
  100.  
  101. public Boolean isRunning() {
  102. return running;
  103. }
  104.  
  105. public String getName() {
  106. return name;
  107. }
  108.  
  109. public void setAutomatic(boolean automatic) {
  110. this.automatic = automatic;
  111. }
  112.  
  113. public void setGate(boolean gate) {
  114. this.gate = gate;
  115. }
  116.  
  117. public void setInqueue(ArrayList<Player> inqueue) {
  118. this.inqueue = inqueue;
  119. }
  120.  
  121. public void setName(String name) {
  122. this.name = name;
  123. }
  124.  
  125. public void setRunning(boolean running) {
  126. this.running = running;
  127. }
  128.  
  129. public void setState(AttractionState state) {
  130. this.state = state;
  131. }
  132.  
  133. public String getTheme() {
  134. return theme;
  135. }
  136.  
  137. public void setTheme(String theme) {
  138. this.theme = theme;
  139. }
  140.  
  141. public void openInventory(Player player) {}
  142.  
  143. public void createInventory() {}
  144.  
  145. public void startAutomatic() {}
  146.  
  147. public void stopAutomatic() {}
  148.  
  149. public void openAttraction() {}
  150.  
  151. public void closeAttraktion() {}
  152.  
  153. public Material getItem() {
  154. return item;
  155. }
  156.  
  157. public void setItem(Material item) {
  158. this.item = item;
  159. }
  160.  
  161. public AttractionState isState() {
  162. return state;
  163. }
  164.  
  165. public void setTimebytick(int timebytick) {
  166. this.timebytick = timebytick;
  167. }
  168.  
  169. public void setPlayer(Player player) {
  170. this.player = player;
  171. }
  172.  
  173. public int getTimebytick() {
  174. return timebytick;
  175. }
  176.  
  177. public Player getPlayer() {
  178. return player;
  179. }
  180.  
  181. public String getSymbol() {
  182. return symbol;
  183. }
  184.  
  185. public void setSymbol(String symbol) {
  186. this.symbol = symbol;
  187. }
  188.  
  189. public String getReason() {
  190. return reason;
  191. }
  192.  
  193. public void setReason(String reason) {
  194. this.reason = reason;
  195. }
  196.  
  197. public Inventory getInv() {
  198. return inv;
  199. }
  200.  
  201. public void setInv(Inventory inv) {
  202. this.inv = inv;
  203. }
  204.  
  205. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement