[Package Index | Mudlib Index | Effect Index]
File /std/basic/close_lock_container.c
This file should be used in containers that wish to notify the
above container that they are able to be registered or not.
The function we_moved(object from, object to) should be called
to allow the object to add and remove itself from the correct
places.
We only worry about the open/close state, if something is open and
locked we don't care. (I guess stuff can be locked open
anyway).
See also:
we_moved()
Written by Pinkfish
Started Thu Mar 5 16:20:10 CST 1998
Inherits
This class inherits the following classes /std/basic/close_lock.cMethod index
- we_moved(object, object)
This method should be called when an object is moved.
Public Functions
These are functions that everyone can access.
.
void we_moved(object from,
object to)
This method should be called when an object is moved. This will
remove itself from the leaving container and add itself to the
new one.
- Parameters:
from - the object we came from
to - the object we are going to