Dynamical analysis of a two-parameter family for a vibro-impact system in resonance cases