Inherits from Coupon encodes empty field list;
Class NoImageCoupon is a subclass of Coupon that allows the user to set an object's image to nilObject. Objects of this class work by calling ApplyImage on the coupon's target.
Remember that if the documentation and the software (especially the definition files) disagree, always trust the software.
Instantiate: rarely Subclass: never Call its methods: never
You might instantiate objects of this class if you wanted to create your own nil-image coupons.
Class NoImageCoupon defines the following methods:
Method | Description |
---|---|
ApplyCoupon |
Overridden to call ApplyImage (nilObject) on coupon's target. |
Class NoImageCoupon defines no fields.
overrides ApplyCoupon Call: rarely Override: sometimes
Magic Cap calls ApplyCoupon when the user drops a coupon into a viewable object. ApplyCoupon should perform the action represented by the coupon. NoImageCoupon_ApplyCoupon sets the target's image to nil by calling ApplyImage(nilObject).