Forgive me for saying this, but it sounds as if you have feelings for your straight friend as well. Due to the fact that on the exterior, you are looking at the relationship with your straight friend as platonic, but also the dreams you are having represents that there are feelings underneath it all. In fact, it could be a possibility that you are hoping for a threesome with the straight friend and the classmate...dreams can represent reality...