Door(3)                                                                Door(3)



NNAAMMEE
       Door -

SSYYNNOOPPSSIISS
       Inherits DDeesscc, SSaavveellooaadd, and SScceenneerryy.


   PPuubblliicc MMeetthhooddss
       ccrreeaattee ()
       object iidd (string str)
       int qquueerryy__cclloosseedd ()
       int qquueerryy__bblloocckkeedd ()
       void sseett__cclloosseedd (int x)
       string qquueerryy__nnaammee ()
       string qquueerryy__ddiissttaanntt ()
       string qquueerryy__ssppeecciiffiicc ()
       int qquueerryy__sscceenneerryy ()
       mapping eexxiitt__sshhaappee ()
       void oonn__ppaaiinntt (object painter)
       int eexxiitt__aaccttiioonn ()
       void oonn__aaccttiioonn (object target)
       object iidd (string param)
       string qquueerryy__nnaammee ()
       string qquueerryy__ddiissttaanntt ()
       string qquueerryy__ssppeecciiffiicc ()
       int qquueerryy__sscceenneerryy ()
       mapping eexxiitt__sshhaappee ()
       void oonn__ppaaiinntt (object painter)
       int eexxiitt__aaccttiioonn ()
       void oonn__aaccttiioonn (object target)
       object iidd (string param)
       LLOOOOKK ('A rather ordinary looking wooden door.It is capable of opening
           and closing.Currently, it is?(ISCLOSED:closed):(open).') void
           on_paint(object painter)
       int eexxiitt__aaccttiioonn ()
       object iidd (string param)

   PPuubblliicc AAttttrriibbuutteess
       int cclloosseedd

DDEETTAAIILLEEDD DDEESSCCRRIIPPTTIIOONN
       This is the door object.

       Definition at line 11 of file obj/door.c.

MMEEMMBBEERR FFUUNNCCTTIIOONN DDOOCCUUMMEENNTTAATTIIOONN
   ccrreeaattee (())
       Constructor for the door object.

       Reimplemented from SScceenneerryy.

       Definition at line 18 of file obj/door.c.

       References Desc::set_distant(), Desc::set_look(), Desc::set_name(),
       Scenedesc::set_phrase(), Desc::set_plural(), Scenedesc::set_position(),
       and Desc::set_specific().

   iinntt eexxiitt__aaccttiioonn (())
       This actually causes the player to pass through the exit. _m is the
       mapping with the exit information; if you want information about the
       player or the room, use this_player() and environment(this_player())
       respectively. An error message is printed if the exit fails.

       A fair amount of error checking has already been done on _m, so the core
       information is most likely valid.

       RReettuurrnnss::
           True on success, false on failure.

       Definition at line 35 of file world/exit/door.c.

       References query_closed().

   iinntt eexxiitt__aaccttiioonn (())
       This actually causes the player to pass through the exit. _m is the
       mapping with the exit information; if you want information about the
       player or the room, use this_player() and environment(this_player())
       respectively. An error message is printed if the exit fails.

       A fair amount of error checking has already been done on _m, so the core
       information is most likely valid.

       RReettuurrnnss::
           True on success, false on failure.

       Definition at line 106 of file bigdoor.c.

       References exit_shape(), on_action(), and query_closed().

   iinntt eexxiitt__aaccttiioonn (())
       This actually causes the player to pass through the exit. _m is the
       mapping with the exit information; if you want information about the
       player or the room, use this_player() and environment(this_player())
       respectively. An error message is printed if the exit fails.

       A fair amount of error checking has already been done on _m, so the core
       information is most likely valid.

       RReettuurrnnss::
           True on success, false on failure.

       Definition at line 74 of file basedoor.c.

       References exit_shape(), and on_action().

   mmaappppiinngg eexxiitt__sshhaappee (())
       Just returns a point, offset by the position of the door. Moves with
       its parent building, if it has one.

       Definition at line 42 of file bigdoor.c.

       References Coord::query_coord().

   mmaappppiinngg eexxiitt__sshhaappee (())
       Just returns a point, offset by the position of the door. Moves with
       its parent building, if it has one.

       Definition at line 39 of file basedoor.c.

       References Coord::coord, and Coord::query_coord().

       Referenced by exit_action(), LOOK(), and on_paint().

   oobbjjeecctt iidd ((ssttrriinngg ssttrr))
       A modified iidd(()) function, that complements in the one in DDeesscc. This one
       allows you to differentiate between an 'east door', a 'west door', etc.
       SSiimmuull__eeffuunn::::sseett__ddiirreeccttiioonn must be called first, so that the door can
       know on which wall it is (this is handled by the verb LookV).

       Reimplemented from DDeesscc.

       Definition at line 39 of file obj/door.c.

   LLOOOOKK ((''AA rraatthheerr oorrddiinnaarryy llooookkiinngg wwooooddeenn ddoooorr..IItt iiss ccaappaabbllee ooff ooppeenniinngg aanndd
       cclloossiinngg.. CCuurrrreennttllyy,, iitt iiss??((IISSCCLLOOSSEEDD::cclloosseedd))::((ooppeenn))..''))
       Draw the exit. This adds the capability of drawing a closed (+) door.

       Definition at line 12 of file world/exit/door.c.

       References exit_shape(), and query_closed().

   vvooiidd oonn__aaccttiioonn ((oobbjjeecctt ttaarrggeett))
       Walk through an exit after arriving at it.

       Definition at line 143 of file bigdoor.c.

   vvooiidd oonn__aaccttiioonn ((oobbjjeecctt ttaarrggeett))
       Walk through an exit after arriving at it.

       Definition at line 106 of file basedoor.c.

       References Desc::query_specific().

       Referenced by exit_action().

   vvooiidd oonn__ppaaiinntt ((oobbjjeecctt ppaaiinntteerr))
       Draw the exit. If you are writing your own exit type, you should
       override this function

       Definition at line 87 of file bigdoor.c.

       References exit_shape(), and query_closed().

   vvooiidd oonn__ppaaiinntt ((oobbjjeecctt ppaaiinntteerr))
       Draw the exit. If you are writing your own exit type, you should
       override this function

       Definition at line 55 of file basedoor.c.

       References exit_shape().

   iinntt qquueerryy__bblloocckkeedd (())
       An alias for query_closed. Use the door as a variable blocker.

       Definition at line 54 of file obj/door.c.

       References closed.

   iinntt qquueerryy__cclloosseedd (())
       RReettuurrnnss::
           The value of the closed flag.

       Definition at line 51 of file obj/door.c.

       References closed.

       Referenced by exit_action(), LOOK(), and on_paint().

   ssttrriinngg qquueerryy__nnaammee (())
       Erk, conflict between desc & twoway here! This is ugly.

       Reimplemented from DDeesscc.

       Definition at line 23 of file bigdoor.c.

   ssttrriinngg qquueerryy__nnaammee (())
       Erk, conflict between desc & twoway here! This is ugly.

       Reimplemented from DDeesscc.

       Definition at line 22 of file basedoor.c.

   vvooiidd sseett__cclloosseedd ((iinntt xx))
       Sets the value of the closed flag to _x.

       Definition at line 57 of file obj/door.c.

       References closed.

MMEEMMBBEERR DDAATTAA DDOOCCUUMMEENNTTAATTIIOONN
   iinntt cclloosseedd
       This flag is set to true if this door is closed, false if it's open.

       Definition at line 15 of file obj/door.c.

       Referenced by query_blocked(), query_closed(), and set_closed().


AAUUTTHHOORR
       Generated automatically by Doxygen for Walraven from the source code.



Walraven                          8 Jan 2004                           Door(3)
