Package org.rspeer.game
Class Game.ScriptExecutor
- java.lang.Object
-
- org.rspeer.game.Game.ScriptExecutor
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
fire(int id, Object... args)
Fires aRSScriptEvent
static void
fire(ScriptComposite composite, Object... args)
static int
fireAndPopIntStack(ScriptComposite composite, Object... args)
static String
fireAndPopStringStack(ScriptComposite composite, Object... args)
-
-
-
Method Detail
-
fire
public static void fire(int id, Object... args)
Fires aRSScriptEvent
- Parameters:
id
- The id of the scriptargs
- Arguments for the script
-
fire
public static void fire(ScriptComposite composite, Object... args)
-
fireAndPopIntStack
public static int fireAndPopIntStack(ScriptComposite composite, Object... args)
-
fireAndPopStringStack
public static String fireAndPopStringStack(ScriptComposite composite, Object... args)
-
-