I'm having trouble inserting animation into my libGDX table cell. I have a class which holds 2 tables, one on the left and one on the right. First table is for labels/buttons/other stuff. Second table is for animation, which should change if user clicks a button.
I've created Animation
class which holds up different animations. The problem is that when I try to add an animation class into the table cell, I get an error because my Animation
does not extend nor implement Actor
class, thus I can't insert it into the cell. What should I do? How do you insert class of type animation into table cell?