public void deserializeMap(DataInputStream dataReader) throws IOException{
    int height = dataReader.readInt();
    int width = dataReader.readInt();
    this.xCenter = dataReader.readInt();
    this.yCenter = dataReader.readInt();
    this.lastSeenTimeStep = new int[height][width];
    this.walls = new boolean[height][width];
    this.foodAmounts = new int[height][width];
    this.antAmounts = new int[height][width];
    for(int y = 0; y < this.lastSeenTimeStep.length; y++){
      for(int x = 0; x < this.lastSeenTimeStep[y].length; x++){
        this.lastSeenTimeStep[y][x] = dataReader.readInt();
        this.foodAmounts[y][x] = dataReader.readInt();
        this.antAmounts[y][x] = dataReader.readInt();
        this.walls[y][x] = dataReader.readBoolean();
      }
    }
  }