Advertisement
Guest User

Untitled

a guest
May 9th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. package com.osroyale.game.event.impl;
  2.  
  3. import com.osroyale.game.event.Event;
  4. import com.osroyale.game.world.items.Item;
  5.  
  6. public class ItemOnItemEvent implements Event {
  7.  
  8. private final Item used;
  9. private final int usedSlot;
  10. private final Item with;
  11. private final int withSlot;
  12.  
  13. public ItemOnItemEvent(Item used, int usedSlot, Item with, int withSlot) {
  14. this.used = used;
  15. this.usedSlot = usedSlot;
  16. this.with = with;
  17. this.withSlot = withSlot;
  18. }
  19.  
  20. public Item getUsed() {
  21. return used;
  22. }
  23.  
  24. public int getUsedSlot() {
  25. return usedSlot;
  26. }
  27.  
  28. public Item getWith() {
  29. return with;
  30. }
  31.  
  32. public int getWithSlot() {
  33. return withSlot;
  34. }
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement