[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

HasDoorway

mixes in with Viewable
inherits from Swallower
inherits from Entrance
inherits from HasLock

Swallower <- HasDoorway



Operations

Get list of all operations

ApplyText
MakeActive
MakeValid
Tap
Touch


Attributes

Get list of all attributes

Label
UseScaledText


Fields

Field Type
HasDestination: destination: Viewable
HasLock: lock: Lock
HasDoorway: image: Image
authoringModeOnly: Boolean


Instance template

Class HasDoorway cannot be instantiated.


Class definition

Define Class HasDoorway;                
        // mixin for common methods of Building and Door
    mixes in with Viewable;
    inherits from Swallower;
    inherits from Entrance;
    inherits from HasLock;

    field image:                Image, getter, sharedSetter;
    field authoringModeOnly:    Boolean, getter;

    overrides Label;
        // returns the name of the destination.
    overrides MakeActive;
        // if the destination does not exist, Destroy(self).
    overrides MakeValid;
        // adds self to make active list so that we can do the above.
    overrides ApplyText;
        // changes the name of the door and the destination.
    overrides Tap, Touch;
        // opens the door and zooms to the destination.

#ifdef SCALED_SCREEN
    overrides UseScaledText;
        // returns true.
#endif
end class;