Advertisement
Guest User

Untitled

a guest
May 9th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. package com.osroyale.content.event.impl;
  2.  
  3. import com.osroyale.content.event.InteractionEvent;
  4. import com.osroyale.game.world.items.Item;
  5.  
  6. public class ItemOnItemInteractionEvent extends InteractionEvent {
  7.  
  8. private final Item first, second;
  9. private final int firstSlot, secondSlot;
  10.  
  11. public ItemOnItemInteractionEvent(Item first, Item second, int firstSlot, int secondSlot) {
  12. super(InteractionType.ITEM_ON_ITEM);
  13. this.first = first;
  14. this.second = second;
  15. this.firstSlot = firstSlot;
  16. this.secondSlot = secondSlot;
  17. }
  18.  
  19. public Item getFirst() {
  20. return first;
  21. }
  22.  
  23. public int getFirstSlot() {
  24. return firstSlot;
  25. }
  26.  
  27. public Item getSecond() {
  28. return second;
  29. }
  30.  
  31. public int getSecondSlot() {
  32. return secondSlot;
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement