Why am I getting "undefined reference to vtable enemy when I link the object files for this game engine code. Some guys on an irc channel told me to add a virtual destructor to the base class GameObject but its still giving the same error, why?, what do I need to change to get it to compile?
You need to make sure that the virtual methods inherited by the Enemy class all have implementations. In Enemy.cpp you only define the update() method.