Es handelt sich hierbei um die berühmte Mazefield aufgabe zur Erstellung eines Labyrinths über Java
Wofür stehen die konstanten in der Variable dort unten ? Geben sie die Grenzen des Labyrinths an oder die Richtungen in welche der Labyrinth Pfad fortgeführt wird ?
public class MazeField
{
public final static byte NumberOfDirections = 4;
public final static byte NULL = 0;
public final static byte NORTH = 1;
public final static byte EAST = 2;
public final static byte SOUTH = 3;
public final static byte WEST = 4;
Liebe Grüße Fats
Wofür stehen die konstanten in der Variable dort unten ? Geben sie die Grenzen des Labyrinths an oder die Richtungen in welche der Labyrinth Pfad fortgeführt wird ?
public class MazeField
{
public final static byte NumberOfDirections = 4;
public final static byte NULL = 0;
public final static byte NORTH = 1;
public final static byte EAST = 2;
public final static byte SOUTH = 3;
public final static byte WEST = 4;
Liebe Grüße Fats