Browse Source

DummyBot -> EnemyBot

master
Your Average Code 11 months ago
parent
commit
9c555c9cde
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      src/EnemyBot.java
  2. 1
    1
      src/RumbleBot.java

src/DummyBot.java → src/EnemyBot.java 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);
}


+ 1
- 1
src/RumbleBot.java 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();
}


Loading…
Cancel
Save