Yes, it should be enough time. The buildings on campus are relatively close together. Students regularly take back-to-back courses with 15 minute walking times in between.
I want to take two courses, one from 12 – 1:30 PM and another from 1:45 – 3:15 PM on the same day. Will 15 minutes be enough for me to walk to the next class?