DummyBot -> EnemyBot
This commit is contained in:
parent
53482674e6
commit
9c555c9cde
@ -1,9 +1,9 @@
|
|||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
public class DummyBot extends Bot {
|
public class EnemyBot extends Bot {
|
||||||
protected final Random random = new Random();
|
protected final Random random = new Random();
|
||||||
|
|
||||||
protected DummyBot(String[] args) {
|
protected EnemyBot(String[] args) {
|
||||||
super(args);
|
super(args);
|
||||||
}
|
}
|
||||||
|
|
@ -11,7 +11,7 @@ public class RumbleBot extends Bot {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
if(args.length == 0) {
|
if(args.length == 0) {
|
||||||
String[] dummyArgs = {"localhost", "63187"};
|
String[] dummyArgs = {"localhost", "63187"};
|
||||||
DummyBot dummy = new DummyBot(dummyArgs);
|
Bot dummy = new EnemyBot(dummyArgs);
|
||||||
new Thread(dummy).start();
|
new Thread(dummy).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user