Browse Source

„ManualBot.java“ ändern

master
Isabella Nawratil 3 months ago
parent
commit
0b1f68cdb1
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      ManualBot.java

+ 9
- 0
ManualBot.java View File

@@ -3,8 +3,12 @@ package bot;
import java.util.Scanner;

public class ManualBot extends Bot {
private Scanner scanner;
public ManualBot(String[] args) {
super(args);
this.scanner = new Scanner(System.in);
}

public static void main(String[] args) {
@@ -37,5 +41,10 @@ public class ManualBot extends Bot {
System.out.println("Falsche Taste. Bitte geben Sie w, s, a, d oder q ein.");
return false;
}


public void run() {
startCommunication();
// hier muss die Logik für die Verbindung implementiert werden
}
}

Loading…
Cancel
Save