|
CanAccept CanAcceptCoupon CanBeTransparent DrawAttentionTo |
Class Box defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| HasBorder: | border: | Border |
instance Box tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; border: nilObject; end instance;
Define Class Box; inherits from Viewable; inherits from HasBorder; overrides CanAccept; // returns true if CanContain, inherited will accept, and morsel fits entirely // inside or option key is down overrides CanAcceptCoupon; // rejects Playables overrides CanBeTransparent; // returns true only if not a subclass overrides DrawAttentionTo; // blinks the content box end class;