(version 2)
(include "sci.sh")
(use "Avoid")
(script 615)



(class mwAvoider of Avoid
    (properties
        client 0
        heading -1000
        bumpTurn 0
        lastBumped 0
        thisTurn 1
        escaping 0
        escapes 0
        escapeTurn 1
        nearestDist 32000
        counter 0
        nonBumps 10
        targetX 0
        targetY 0
        motionInited 0
        outOfTouch 0
        offScreenOK 0
    )

    (method (doit)
        (super:doit())
        DirLoop(client (send client:heading))
    )

)
