Pawn(int t, boolean w, int x, int y){
        super(t,w,x,y);
        dist = 1;
        if (!white) {
            int[][] ex = {{1, 0}, {1, 1}, {1, -1}, {2, 0}};
            moves = ex;
        } else {
            int[][] ex = {{-1, 0}, {-1, 1}, {-1, -1}, {-2, 0}};
            moves = ex;
        }
    }