diff --git a/cicaprojekt/Field.java b/cicaprojekt/Field.java index 4ba8484..6e9eb75 100644 --- a/cicaprojekt/Field.java +++ b/cicaprojekt/Field.java @@ -1,7 +1,21 @@ package cicaprojekt; +import java.util.HashMap; + public class Field extends cicaprojekt.Tile { + public static Field testField; + + public Field() { + setItemOnTile(new Box()); + + adjacentTile = new HashMap(); + adjacentTile.put(Direction.NORTH, Field.testField); + adjacentTile.put(Direction.EAST, Field.testField); + adjacentTile.put(Direction.SOUTH, Field.testField); + adjacentTile.put(Direction.WEST, Field.testField); + } + @Override public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) { Menu.addTab();