DummyBot -> EnemyBot

This commit is contained in:
Your Average Code 2024-01-25 17:45:32 +01:00
parent 53482674e6
commit 9c555c9cde
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
import java.util.Random;
public class DummyBot extends Bot {
public class EnemyBot extends Bot {
protected final Random random = new Random();
protected DummyBot(String[] args) {
protected EnemyBot(String[] args) {
super(args);
}

View File

@ -11,7 +11,7 @@ public class RumbleBot extends Bot {
public static void main(String[] args) {
if(args.length == 0) {
String[] dummyArgs = {"localhost", "63187"};
DummyBot dummy = new DummyBot(dummyArgs);
Bot dummy = new EnemyBot(dummyArgs);
new Thread(dummy).start();
}