Class FishInspect

java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.FishInspect
All Implemented Interfaces:
TurnListener, Script

public class FishInspect extends ScriptImpl implements TurnListener
Deep inspects a player and all his/her items. to look for fish
Author:
hendrik/kymara
  • Constructor Details

    • FishInspect

      public FishInspect()
  • Method Details

    • execute

      public void execute(Player admin, List<String> args)
      Description copied from interface: Script
      Executes this script.
      Specified by:
      execute in interface Script
      Overrides:
      execute in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.
    • onTurnReached

      public void onTurnReached(int currentTurn)
      Description copied from interface: TurnListener
      This method is called when the turn number is reached.
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - current turn number
    • unload

      public void unload(Player admin, List<String> args)
      Description copied from interface: Script
      Unloads this script.
      Specified by:
      unload in interface Script
      Overrides:
      unload in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.