How to pause a specific actor rather than the entire game?
Any suggestions?
private int delay = 0;
public void act()
{
if (delay>0)
{
delay--;
return;
}
//rest of the act method
}
public void setDelay(int d)
{
delay = d;
}