RevoltecX7 wrote...
Can you please explain me, what exactly this doing?
<< Code Omitted >>
You return Actor... but what it mean? and why?
/**
* Demo act method: this can be removed or revised as needed; added to give all actors a downward pull;
* (notice how score and level text fields are pinned in place)
*/
public void act()
{
for (Object obj : getObjects(null))
{
Actor actor = (Actor)obj;
actor.setLocation(actor.getX(), actor.getY()+1);
}public static Actor getNewStillActor()
{
return new Actor()
{
public void setLocation(int x, int y){}
};
}