Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I imagine I would have something like an abstract Equipment class and have armor/leggings/helmets classes inherit from it, but how would I assign that to the player?