I have an actor, and I want him to usa a void from his upper class. It already worked once, but this time it doesn't although I made it exacly the same way.
and the subclass:
But he doesn't do anything, why???
public class Attacker extends Actor
{
private int time1=0;
private int time2=30;
public void Reload()
{
if (time1!=time2) {time1++;}
}
}public class Gunner extends Attacker
{
private int time1=0;
private int time2=30;
public void act()
{
Reload();
}
}

