Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Eclipse does not allow me to do
while (actor.hasActions()){}
saying it's undefined for type actor, but the libgdx API still has it as one of an Actor object functions.
According to the source history on Actor , the hasActions method was added 7 days ago. Get latest and I think it should work for you.
Actor
hasActions
You can instead do:
actor.getActions().size != 0