private boolean canKingSideCastle(GameObj[][] board) {
		if(!this.hasMoved() && inBoundsFrom(x, x+3, y, y) && board[x+1][y].isTile() && board[x+2][y].isTile() && board[x+3][y].isRook() && !board[x+3][y].hasMoved()) {
			if(!inCheck() && !oppCanAttack(board,x+1,y) && !oppCanAttack(board,x+2,y)) {
				return true;
			}
		}
		return false;		
	}