Currently I have this animation:
I would like to play the animation for a specific time everytime it hits a specific actor. Hope someone has an idea :)
public void hitAnimation()
{
if(count % 40 == 0)
{
if(animationImage > 1)
{
animationImage = 0;
}
setImage("polizeiautohit_" + animationImage + ".png");
animationImage++;
}
}
