From 9c555c9cde2529b9b5fb984a6989fbebe83c85cd Mon Sep 17 00:00:00 2001 From: Your Average Code <138674451+UrAvgCode@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:45:32 +0100 Subject: [PATCH] DummyBot -> EnemyBot --- src/{DummyBot.java => EnemyBot.java} | 4 ++-- src/RumbleBot.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{DummyBot.java => EnemyBot.java} (89%) diff --git a/src/DummyBot.java b/src/EnemyBot.java similarity index 89% rename from src/DummyBot.java rename to src/EnemyBot.java index 8dd5b5d..19f753f 100644 --- a/src/DummyBot.java +++ b/src/EnemyBot.java @@ -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); } diff --git a/src/RumbleBot.java b/src/RumbleBot.java index 8c3c9be..07046ed 100644 --- a/src/RumbleBot.java +++ b/src/RumbleBot.java @@ -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(); }