Annoying people in my P.E. class

Morgan
This isn't sex related, but I'm a senior with a very fixed schedule. I have gym every day until mid January and there's one girl I cannot stand. She's very ignorant and bossy (mind you im in a class full of eighth graders and freshmen, her being one of them). We are in our basketball unit and she thinks she knows all the rules but she really doesn't. I've never played basketball before, but I know the rules because I watched my brother play when he was in high school. She calls out "fouls" when my team plays right, and she continues to play when she makes multiple fouls. She gives me unnecessary attitude and I restrained myself from calling her out and picking a fight. I walked away and was the better person, but I don't know how long I can handle this for. What should I do?