1
\$\begingroup\$

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.

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

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.

\$\endgroup\$
-1
\$\begingroup\$

You can instead do:

actor.getActions().size != 0
\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .