public abstract class Bot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DOWN
Nach unten bewegen
|
static int |
LEFT
Nach links bewegen
|
int |
own
Die Farbe der eigenen JetWall
|
static int |
RIGHT
Nach rechts bewegen
|
static int |
UP
Nach oben bewegen
|
short[][] |
world
Die Karte auf der sich der Bot bewegt.
|
int |
x
Die aktuelle X-Position
|
int |
y
Die aktuelle Y-Position
|
Constructor and Description |
---|
Bot() |
Modifier and Type | Method and Description |
---|---|
abstract int |
turn()
Die Methode, welche jede Zeiteinheit aufgerufen wird
|
public static final int UP
public static final int RIGHT
public static final int DOWN
public static final int LEFT
public short[][] world
public int own
public int x
public int y