implemented the GameObject base class, but I still have the warning about destructors
fixed the virtual destructor problem