Hi guys,
I was wondering how I could make a timer in here?:I want to replace the delay command by a real timer but I don't know how to do it in this if condition and I'm kind of stuck right now...
Thanks a lot
if(Greenfoot.isKeyDown("é") && combo<=0){
setImage(punch);
combo=150;
((Market)getWorld()).kenGetHit();
Greenfoot.delay(10);
((Market)getWorld()).kenStopHit();
}
