ToHitData toHit = new ToHitData(0, "");
ToHitData toHit = new ToHitData();
    public static ToHitData getAttackerMovementModifier(Game game, int entityId) {        final Entity entity = game.getEntity(entityId);        ToHitData toHit = new ToHitData(0, "");                if (entity.moved == Entity.MOVE_WALK) {            toHit.addModifier(1, "attacker walked");        } else if (entity.moved == Entity.MOVE_RUN) {            toHit.addModifier(2, "attacker ran");        } else if (entity.moved == Entity.MOVE_JUMP) {            toHit.addModifier(3, "attacker jumped");        }                return toHit;    }