Class GoToPosition

java.lang.Object
games.stendhal.server.core.pathfinder.GoToPosition
All Implemented Interfaces:
Observer

public class GoToPosition extends Object implements Observer
class for guide NPC to certain point in his zone
Author:
yoriy
  • Constructor Details

    • GoToPosition

      public GoToPosition(GuidedEntity entity, Node position, Observer o)
      Constructor
      Parameters:
      entity - - path notifier owner
      position - target position
      o - observer
  • Method Details

    • finish

      public void finish()
      final part of travel
    • update

      public void update(Observable o, Object arg)
      update function
      Specified by:
      update in interface Observer
      Parameters:
      o - - not used
      arg - - arguments, not used