Compare commits
3
Commits
030a7da54f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb4cd98c0f | ||
|
|
21034d5255 | ||
|
|
aa214fd32d |
No files matched your search
@@ -19,7 +19,7 @@ public abstract class Bot {
|
|||||||
private final int port; // Port des Servers
|
private final int port; // Port des Servers
|
||||||
|
|
||||||
protected Bot(String[] args) {
|
protected Bot(String[] args) {
|
||||||
host = args.length > 0 ? args[0] : "localhost";
|
host = args.length > 0 ? args[0] : "141.75.33.181";
|
||||||
port = args.length > 1 ? Integer.parseInt(args[1]) : 63187;
|
port = args.length > 1 ? Integer.parseInt(args[1]) : 63187;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
//
|
|
||||||
public class RumbleBot extends Bot {
|
public class RumbleBot extends Bot {
|
||||||
|
|
||||||
private int currentDirection = 1; // Variable, um die aktuelle Bewegungsrichtung des Rovers zu halten
|
private int currentDirection = 1; // Variable, um die aktuelle Bewegungsrichtung des Rovers zu halten
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user