daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Dec 1st, 2014 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package scripts.paa0.paa2ScriptReq;
  2.  
  3. import org.tribot.script.Script;
  4.  
  5. import scripts.paa1.paa1InstructsReq.Instruct;
  6. import scripts.pzz8.paa1Utility.Utility;
  7.  
  8. public class OverScript {
  9.  
  10.         public static Script ScriptSource;     
  11.         public static Instruct ScriptInstructions;
  12.         private static Utility ScriptUtilities;
  13.        
  14.        
  15.         public static void setScriptSource(Script script, Instruct instruct){
  16.                 ScriptSource = script;
  17.                 ScriptInstructions = instruct;
  18.                 ScriptUtilities = new Utility();
  19.         }
  20.        
  21.         public static void out(String s){
  22.                 ScriptSource.println(s);
  23.         }
  24.        
  25.        
  26.         private static int CurrentCycle = -1;
  27.         private static void accessUtilities(int cycle){
  28.                 if(CurrentCycle != cycle){                     
  29.                         ScriptUtilities.load();                
  30.                         CurrentCycle = cycle;
  31.                 }
  32.         }
  33.        
  34.         public static Utility getUtilities(int cycle){
  35.                 accessUtilities(cycle);
  36.                 return ScriptUtilities;
  37.         }
  38.  
  39.        
  40.        
  41.                
  42. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top