View Single Post
  #5  
Old 01-16-2010, 05:00 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by Keladon View Post
Instead I tried to create a PvpList similar to that of the HateList and attach pvp events to clients. But when I add a virtual function to the mob file I keep getting undefined reference errors from other files such as horse, npc, playercorpse, etc. How are these classes interconnected?
Client is derived from Mob, which in turn is derived from Entity, however since only clients can PvP, I would think you should just add your 'PvPList' into the Client class and not worry about the Mob class or virtual functions at all.
Reply With Quote