made player inherit from base game object
made enemy inherit from base game object
made projectile inherit from base game object and fixed directions
added extra check for projectile deletion