if(ENTER pressed) {
executionTime = currentSystemTime + 1000; // delay for 1 sec
}
if(ENTER pressed && currentSystemTime >= executionTime) { attack }but it simply doesn't works, it is only performed once (execution time is equal to current time) and later execution time is always greater than current system time. So could you tell me more about game states? I understand, that after certain action it should change, but how it is performed? I mean technically, game sleeps during state change or what?

Find content
Male