thanks. And another question.
Say, I use a loop, for example, a while loop.
On Monster collides with ObjectA ==> subtract Monster.Damage from ObjectA.HP
while(ObjectA.HP>0)
I have Monster1 hit ObjectA, the loop occurs. Then, I create another Monster2 and it hits ObjectA, BEFORE the first loop finishes. How will the Event be resolved now? Will the first loop finishes and the 2nd starts, or will they take turn damaging ObjectA?