L2VehicleAI.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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.ai;
  16. import com.l2jserver.gameserver.model.L2Object;
  17. import com.l2jserver.gameserver.model.L2Skill;
  18. import com.l2jserver.gameserver.model.actor.L2Character;
  19. import com.l2jserver.gameserver.model.actor.L2Vehicle;
  20. /**
  21. * @author DS
  22. */
  23. public abstract class L2VehicleAI extends L2CharacterAI
  24. {
  25. /**
  26. * Simple AI for vehicles
  27. * @param accessor
  28. */
  29. public L2VehicleAI(L2Vehicle.AIAccessor accessor)
  30. {
  31. super(accessor);
  32. }
  33. @Override
  34. protected void onIntentionAttack(L2Character target)
  35. {
  36. }
  37. @Override
  38. protected void onIntentionCast(L2Skill skill, L2Object target)
  39. {
  40. }
  41. @Override
  42. protected void onIntentionFollow(L2Character target)
  43. {
  44. }
  45. @Override
  46. protected void onIntentionPickUp(L2Object item)
  47. {
  48. }
  49. @Override
  50. protected void onIntentionInteract(L2Object object)
  51. {
  52. }
  53. @Override
  54. protected void onEvtAttacked(L2Character attacker)
  55. {
  56. }
  57. @Override
  58. protected void onEvtAggression(L2Character target, int aggro)
  59. {
  60. }
  61. @Override
  62. protected void onEvtStunned(L2Character attacker)
  63. {
  64. }
  65. @Override
  66. protected void onEvtSleeping(L2Character attacker)
  67. {
  68. }
  69. @Override
  70. protected void onEvtRooted(L2Character attacker)
  71. {
  72. }
  73. @Override
  74. protected void onEvtForgetObject(L2Object object)
  75. {
  76. }
  77. @Override
  78. protected void onEvtCancel()
  79. {
  80. }
  81. @Override
  82. protected void onEvtDead()
  83. {
  84. }
  85. @Override
  86. protected void onEvtFakeDeath()
  87. {
  88. }
  89. @Override
  90. protected void onEvtFinishCasting()
  91. {
  92. }
  93. @Override
  94. protected void clientActionFailed()
  95. {
  96. }
  97. @Override
  98. protected void moveToPawn(L2Object pawn, int offset)
  99. {
  100. }
  101. @Override
  102. protected void clientStoppedMoving()
  103. {
  104. }
  105. }