mirror of
https://github.com/2006Scape-Scripts/ParaScript.git
synced 2026-07-03 00:38:36 +00:00
Fixup
This commit is contained in:
@@ -3,18 +3,20 @@ package ParaScript;
|
||||
import ParaScript.data.Variables;
|
||||
import ParaScript.strategies.*;
|
||||
import ParaScript.ui.UI;
|
||||
import org.parabot.environment.api.interfaces.Paintable;
|
||||
import org.parabot.environment.api.utils.Time;
|
||||
import org.parabot.environment.scripts.Script;
|
||||
import org.parabot.environment.scripts.framework.Strategy;
|
||||
import org.parabot.environment.scripts.Category;
|
||||
import org.parabot.environment.scripts.ScriptManifest;
|
||||
import org.rev317.min.api.events.MessageEvent;
|
||||
import org.rev317.min.api.events.listeners.MessageListener;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.ArrayList;
|
||||
|
||||
@ScriptManifest(author = "RedSparr0w", category = Category.OTHER, description = "src/ParaScript", name = "Script", servers = { "2006rebotted" }, version = 1)
|
||||
public class Main extends Script{
|
||||
@ScriptManifest(author = "RedSparr0w", category = Category.OTHER, description = "ParaScript", name = "ParaScript", servers = { "2006rebotted" }, version = 1)
|
||||
public class Main extends Script implements MessageListener, Paintable {
|
||||
|
||||
private final ArrayList<Strategy> strategies = new ArrayList<Strategy>();
|
||||
|
||||
@@ -76,7 +78,6 @@ public class Main extends Script{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void messageReceived(MessageEvent message) {
|
||||
switch (message.getType()) {
|
||||
case 0:
|
||||
|
||||
@@ -60,7 +60,7 @@ public class Variables {
|
||||
new Tile(3290, 3397),
|
||||
new Tile(3290, 3386),
|
||||
new Tile(3288, 3375),
|
||||
new Tile(3287, 3371),
|
||||
new Tile(3287, 3370),
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ public class UI extends JFrame {
|
||||
JPanel slavePanel = new JPanel();
|
||||
slavePanel.setForeground(Color_WhiteSmoke);
|
||||
slavePanel.setBackground(Color_WetAsphalt);
|
||||
tabbedPane.addTab("Settings", null, slavePanel, null);
|
||||
tabbedPane.addTab("Bank Runner", null, slavePanel, null);
|
||||
slavePanel.setLayout(null);
|
||||
|
||||
// Which skill are we training
|
||||
|
||||
Reference in New Issue
Block a user