// loop thru actions and handle everything we expect except attacks
for (Enumeration<EntityAction> i = game.getActions(); i.hasMoreElements();) {
EntityAction ea = i.nextElement();
Entity entity = game.getEntity(ea.getEntityId());
if (ea instanceof TorsoTwistAction) {
TorsoTwistAction tta = (TorsoTwistAction) ea;
if (entity.canChangeSecondaryFacing()) {
entity.setSecondaryFacing(tta.getFacing());
}
} else if (ea instanceof FlipArmsAction) {
FlipArmsAction faa = (FlipArmsAction) ea;
entity.setArmsFlipped(faa.getIsFlipped());
} else if (ea instanceof FindClubAction) {