DropTypeThrow class | thing.t[327]

A drop-type descriptor for the THROW command. This object keeps track of the target (the object that was hit by the projectile) and the projectile's path to the target. The projectile is simply the direct object.

`class DropTypeThrow : DropType`

Superclass Tree (in declaration order)

`DropTypeThrow`
`DropType`
`object`

Subclass Tree

`DropTypeThrow`
`DropTypeShortThrow`

Global Objects

(none)

Summary of Properties

`path_ target_`

``

Summary of Methods

`construct getReportPrefix standardReport`

``

Properties

`path_` | `thing.t[363]`

the path the projectile took to reach the target

`target_` | `thing.t[360]`

the object that was hit by the projectile

Methods

`construct (target, path)` | `thing.t[328]`

no description available

`getReportPrefix (obj, dest)`OVERRIDDEN | `thing.t[353]`

if the actual target and the nominal destination are the same, just say that it lands on the destination; otherwise, say that it bounces off the target and falls to the nominal destination

`standardReport (obj, dest)`OVERRIDDEN | `thing.t[335]`

remember the target and path

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3