public void act() {
        jMan.act(this);
        jMan.setActed(true);
        
        // Make every other piece act.
        for (int i= 0; i < width; i= i+1){
            for (int j= 0; j < height; j= j+1){
                Piece p= board[i][j];
                if (p != null  &&  !p.hasActed()){
                    p.act(this);
                    p.setActed(true);
                }
            }
        }
        
        // Set all the act flags to false.
        for (int i= 0; i < width; i= i+1){
            for (int j= 0; j < height; j= j+1){
                Piece piece = board[i][j];
                if (piece != null){
                    piece.setActed(false);
                }
            }
        }
    }