L2TeleportLocation.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.model;
  16. /**
  17. * This class ...
  18. *
  19. * @version $Revision: 1.2.4.1 $ $Date: 2005/03/27 15:29:32 $
  20. */
  21. public class L2TeleportLocation
  22. {
  23. private int _teleId;
  24. private int _locX;
  25. private int _locY;
  26. private int _locZ;
  27. private int _price;
  28. private boolean _forNoble;
  29. /**
  30. * @param id
  31. */
  32. public void setTeleId(int id)
  33. {
  34. _teleId = id;
  35. }
  36. /**
  37. * @param locX
  38. */
  39. public void setLocX(int locX)
  40. {
  41. _locX = locX;
  42. }
  43. /**
  44. * @param locY
  45. */
  46. public void setLocY(int locY)
  47. {
  48. _locY = locY;
  49. }
  50. /**
  51. * @param locZ
  52. */
  53. public void setLocZ(int locZ)
  54. {
  55. _locZ = locZ;
  56. }
  57. /**
  58. * @param price
  59. */
  60. public void setPrice(int price)
  61. {
  62. _price = price;
  63. }
  64. /**
  65. * @param val
  66. */
  67. public void setIsForNoble(boolean val)
  68. {
  69. _forNoble = val;
  70. }
  71. /**
  72. * @return
  73. */
  74. public int getTeleId()
  75. {
  76. return _teleId;
  77. }
  78. /**
  79. * @return
  80. */
  81. public int getLocX()
  82. {
  83. return _locX;
  84. }
  85. /**
  86. * @return
  87. */
  88. public int getLocY()
  89. {
  90. return _locY;
  91. }
  92. /**
  93. * @return
  94. */
  95. public int getLocZ()
  96. {
  97. return _locZ;
  98. }
  99. /**
  100. * @return
  101. */
  102. public int getPrice()
  103. {
  104. return _price;
  105. }
  106. /**
  107. * @return
  108. */
  109. public boolean getIsForNoble()
  110. {
  111. return _forNoble;
  112. }
  113. }