Tag Info

New answers tagged

0

Your getters (getCTwoInst, getCOneInst and getOne) return copies so you're calling the animate function on a copy of a copy of your sprite. This modified copy is then left unused. Return references instead: Two& getCTwoInst() {return cTwoInst;}



Top 50 recent answers are included