„SnakeBot.java“ ändern
This commit is contained in:
parent
e917165fa8
commit
d7f85e7568
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user