I am trying to compile Board.java, which is in the same package (and directory) as Hexagon.java, but I get this error:
Board.java:12: cannot find symbol
symbol : class Hexagon
location: class oadams_atroche.Board
private Hexagon[][] tiles;
The first few lines of Board.java:
package oadams_atroche;
import java.util.LinkedList;
import java.util.Queue;
import java.io.PrintStream;
import p323.hex.*;
public class Board implements Piece{
>---//Fields
>---private int n;
>---private Hexagon[][] tiles;
The first few lines of Hexagon.java:
package oadams_atroche;
import p323.hex.*;
public class Hexagon implements Piece{
I just cannot see what I am doing wrong. Any ideas?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…