} else if (ea instanceof FlipArmsAction) { FlipArmsAction faa = (FlipArmsAction)ea; game.getEntity(faa.getEntityId()).setArmsFlipped(faa.getIsFlipped());
    private void receiveAttack(Packet pkt) {        Vector vector = (Vector)pkt.getObject(1);        Entity entity = game.getEntity(pkt.getIntValue(0));        for (Enumeration i = vector.elements(); i.hasMoreElements();) {            EntityAction ea = (EntityAction)i.nextElement();            // add to the list.            attacks.addElement(ea);                        // if torso twist, twist so that everybody can see it later            if (ea instanceof TorsoTwistAction) {                TorsoTwistAction tta = (TorsoTwistAction)ea;                game.getEntity(tta.getEntityId()).setSecondaryFacing(tta.getFacing());            }            // send an outgoing packet to everybody            send(createAttackPacket(ea));        }        send(createEntityPacket(entity.getId()));    }