refactoring void processAnimActions(int32 actorIdx);
for better code legibility.