completed combat window popping up at the right time and finished battle class constructor