|
Kod: |
OA A =1
OA A=2 OA colides with OA =>set flag OA 33 on =>set flag OA 33 on =>start loop #0 1 times =>start loop #1 1 times Loop #0 Get all objects with A=1 Get all objects with flag 22 on =>destroy Loop #1 Get all objects with A=2 Get all objects with flag 22 on =>set flag 33 off |