Class engine.Target

handles targetting

Tables

engine.Target.types_def

targeting type strings -> modification function.

Methods

engine.Target:pointAtRange (srcx, srcy, destx, desty, dist)

Returns the point at distance from the source on a line to the destination



Tables

engine.Target.types_def
targeting type strings -> modification function.

Fields:

  • ball
  • cone
  • wall
  • bolt
  • beam

Methods

engine.Target:pointAtRange (srcx, srcy, destx, desty, dist)
Returns the point at distance from the source on a line to the destination

Parameters:

  • srcx
  • srcy
  • destx
  • desty
  • dist
generated by LDoc 1.4.3