L2VehicleAI.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*
  2. * Copyright (C) 2004-2015 L2J Server
  3. *
  4. * This file is part of L2J Server.
  5. *
  6. * L2J Server is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * L2J Server is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. package com.l2jserver.gameserver.ai;
  20. import com.l2jserver.gameserver.model.L2Object;
  21. import com.l2jserver.gameserver.model.actor.L2Character;
  22. import com.l2jserver.gameserver.model.actor.L2Vehicle;
  23. import com.l2jserver.gameserver.model.skills.Skill;
  24. /**
  25. * @author DS
  26. */
  27. public abstract class L2VehicleAI extends L2CharacterAI
  28. {
  29. /**
  30. * Simple AI for vehicles
  31. * @param creature
  32. */
  33. public L2VehicleAI(L2Vehicle creature)
  34. {
  35. super(creature);
  36. }
  37. @Override
  38. protected void onIntentionAttack(L2Character target)
  39. {
  40. }
  41. @Override
  42. protected void onIntentionCast(Skill skill, L2Object target)
  43. {
  44. }
  45. @Override
  46. protected void onIntentionFollow(L2Character target)
  47. {
  48. }
  49. @Override
  50. protected void onIntentionPickUp(L2Object item)
  51. {
  52. }
  53. @Override
  54. protected void onIntentionInteract(L2Object object)
  55. {
  56. }
  57. @Override
  58. protected void onEvtAttacked(L2Character attacker)
  59. {
  60. }
  61. @Override
  62. protected void onEvtAggression(L2Character target, int aggro)
  63. {
  64. }
  65. @Override
  66. protected void onEvtStunned(L2Character attacker)
  67. {
  68. }
  69. @Override
  70. protected void onEvtSleeping(L2Character attacker)
  71. {
  72. }
  73. @Override
  74. protected void onEvtRooted(L2Character attacker)
  75. {
  76. }
  77. @Override
  78. protected void onEvtForgetObject(L2Object object)
  79. {
  80. }
  81. @Override
  82. protected void onEvtCancel()
  83. {
  84. }
  85. @Override
  86. protected void onEvtDead()
  87. {
  88. }
  89. @Override
  90. protected void onEvtFakeDeath()
  91. {
  92. }
  93. @Override
  94. protected void onEvtFinishCasting()
  95. {
  96. }
  97. @Override
  98. protected void clientActionFailed()
  99. {
  100. }
  101. @Override
  102. protected void moveToPawn(L2Object pawn, int offset)
  103. {
  104. }
  105. @Override
  106. protected void clientStoppedMoving()
  107. {
  108. }
  109. }