renamed target_player to target_object and made it a member of the game object class