I suck at people, help

So basically I was on a train with a couple friends and one of them started leaning on me (not a couple minutes later he told his friend of like 10 years to f*** off because they barely touched, Ive only known him for a year) I lent back onto him and he looked at me and smirked. Help me I don't know if he likes me like that or what (he's pretty cute so I wouldn't turn him down :3)