Is there a way to make a new object but actually you dont make a real one:p
i only need an arraylist variable in that class but i all ready make on object of that class in another class and i only need one
for example
ChessBoard contains an arraylist<ChessPiece> pieces
ChessPiece has an method setImage();
ChessBoardView makes an ChessPieceView Object and and ChessBoard object
ChessPieceView set images for the pieces and needs the arraylist from ChessBoard, but i cant make a new ChessBoard object because i only need one, and this one is made in ChessBoardView.
How do i access the arraylist<ChessPiece> in the class ChessPieceView;