if(entity instanceof Tank && ((Tank)entity).getStunnedTurns() > 0) { isRunProhibited = true; }
    public void setFromEntity(Entity entity, IGame game) {        this.position = entity.getPosition();        this.facing = entity.getFacing();        // elevation        this.mpUsed = entity.mpUsed;        this.distance = entity.delta_distance;        this.isProne = entity.isProne();        isHullDown = entity.isHullDown();        climbMode = entity.climbMode();                this.elevation = entity.getElevation();        movementType = entity.moved;                int nMove = entity.getMovementMode();        // check pavement & water        if (position != null) {            IHex curHex = game.getBoard().getHex(position);            if (curHex.hasPavement()) {                onlyPavement = true;                isPavementStep = true;            }            //if entity already moved into water it can't run now            if(curHex.containsTerrain(Terrains.WATER)                    && entity.getElevation() < 0                    && distance > 0                    && nMove != IEntityMovementMode.NAVAL                    && nMove != IEntityMovementMode.HYDROFOIL                    && nMove != IEntityMovementMode.SUBMARINE                    && nMove != IEntityMovementMode.INF_UMU) {                isRunProhibited = true;            }        }    }