Class: JumpTo (of Jump)

The Jump class is a motion class which allows actors to jump.

Properties

  • client
  • caller
  • x
  • y
  • dx
  • dy
  • b-moveCnt
  • b-i1
  • b-i2
  • b-di
  • b-xAxis
  • b-incr
  • completed
  • xLast
  • yLast
  • gx
  • gy
  • xStep
  • yStep
  • signal
  • illegalBits
  • waitApogeeX
  • waitApogeeY

Methods

  • void init(heapPtr theClient, number theX, number theY[, heapPtr theCaller])

    Sets up the jump to class.

  • void moveDone()

    Sets the client's x and y properties to the jump to's x and y properties as long as they are not equal to 20000. If the caller is set, it sets the global variable gCastMotionCue to TRUE, and the completed property to TRUE.