„SnakeBot.java“ ändern

This commit is contained in:
Jasmin Zieroth 2024-02-06 21:38:32 +00:00
parent e917165fa8
commit d7f85e7568

View File

@ -1,16 +1,16 @@
package praktikum05;
package bot;
import java.util.ArrayList;
import java.util.List;
public class SnakeBotMimi extends Bot{
public class SnakeBot extends Bot{
boolean lastMoveWasTurn = false; // Merker, ob der letzte Zug eine Drehung war
public static void main(String[] args) {
Bot snakeBot = new SnakeBotMimi(args);
Bot snakeBot = new SnakeBot(args);
snakeBot.run();
}
protected SnakeBotMimi(String[] args) {
protected SnakeBot(String[] args) {
super(args);
}