Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited title
Link
doppelgreener
  • 7.3k
  • 7
  • 44
  • 69

How to insert animation into table? libGDX

Source Link

How to insert animation into table? libGDX

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?