refactor enemy dead_tick using Timer