How to have multiple character classes in multiplayer game

Would Having components for everything be the right way