mirror of
				https://github.com/lov3b/Schack.git
				synced 2025-11-03 22:50:24 +01:00 
			
		
		
		
	Update PieceKnownIfMoved.java
This commit is contained in:
		@@ -2,7 +2,6 @@ package schack;
 | 
			
		||||
 | 
			
		||||
import java.awt.Point;
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
 | 
			
		||||
public abstract class PieceKnownIfMoved extends Piece {
 | 
			
		||||
 | 
			
		||||
@@ -12,10 +11,6 @@ public abstract class PieceKnownIfMoved extends Piece {
 | 
			
		||||
        super(isWhite, startingPosition);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public boolean isSeen(ArrayList<Piece> pieces) {
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void move(Piece[][] pieces, Point toMove) {
 | 
			
		||||
        super.move(pieces, toMove);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user