Class: DPath (of Obj)

The DPath class is a movement class which allows you to specify the paths which actors will move.

Properties

  • client
  • caller
  • x
  • y
  • dx
  • dy
  • b-moveCnt
  • b-i1
  • b-i2
  • b-di
  • b-xAxis
  • b-incr
  • completed
  • xLast
  • yLast
  • points
  • value

Methods

  • void init([heapPtr theClient, point(s) pPoints])

    Sets up the DPath class.

    The client property is set to theClient, and the specified points are added to the points List.

  • void dispose()

    Disposes of the class and it's points list.

  • void moveDone()

    Occurs when the actor has reached a target. If the last target is met, it disposes of the control. Otherwise, it sets up the next target to move to.

  • void setTarget()

    Sets up the target for the actor.