Class ScriptManager

java.lang.Object
net.thevpc.naru.agent.ScriptManager

public class ScriptManager extends Object
  • Constructor Details

    • ScriptManager

      public ScriptManager()
  • Method Details

    • getScript

      public Script getScript(String name)
    • getCurrentScript

      public Script getCurrentScript()
    • getCurrentScriptName

      public String getCurrentScriptName()
    • switchScript

      public void switchScript(String name)
    • putLine

      public void putLine(int number, String text)
    • removeLine

      public void removeLine(int number)
    • clearCurrent

      public void clearCurrent()
    • listCurrent

      public String listCurrent()
    • load

      public void load(String pathStr, AgentContext context) throws IOException
      Throws:
      IOException
    • save

      public void save(String pathStr, AgentContext context) throws IOException
      Throws:
      IOException
    • tryParseLine

      public boolean tryParseLine(String input)