fixed nullptrexception on ONeill.boxLift() & ONeill.move()

static attribute Field.testfield now initializes properly
This commit is contained in:
Kjistóf 2016-03-29 11:09:12 +02:00
parent a9b9e8d5ef
commit ddffc0f655

View File

@ -4,7 +4,7 @@ import java.util.HashMap;
public class Field extends cicaprojekt.Tile public class Field extends cicaprojekt.Tile
{ {
public static Field testField; public static Field testField = new Field();
public Field() { public Field() {
setItemOnTile(new Box()); setItemOnTile(new Box());