Guest User

Untitled

a guest
Sep 29th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. /**
  2. * @author KKnD
  3. */
  4. public final class L2FenceInstance extends L2Object
  5. {
  6. private int _type;
  7. private int _width;
  8. private int _height;
  9.  
  10. public L2FenceInstance(int objectId, int type, int width, int height)
  11. {
  12. super(objectId);
  13. _type = type;
  14. _width = width;
  15. _height = height;
  16. }
  17.  
  18. @Override
  19. public void sendInfo(L2PcInstance activeChar)
  20. {
  21. activeChar.sendPacket(new ExColosseumFenceInfoPacket(this));
  22. }
  23.  
  24. public int getType()
  25. {
  26. return _type;
  27. }
  28.  
  29. public int getWidth()
  30. {
  31. return _width;
  32. }
  33.  
  34. public int getHeight()
  35. {
  36. return _height;
  37. }
  38.  
  39. @Override
  40. public boolean isAutoAttackable(L2Character attacker)
  41. {
  42. return false;
  43. }
  44. }
Add Comment
Please, Sign In to add comment