Interface PALplate.mud.MudObject
All Packages Class Hierarchy This Package Previous Next Index
Interface PALplate.mud.MudObject
- public interface MudObject
- extends Object
This might eventually balloon into something that has more in common with the sort
of functionality which Applets have, but for now it's nothing more than an init
function. This is implemented by objects which have initial arguments.
All java objects which correspond to objects in the mud must implement this interface.
Thought about making MudObjects also understand mud communication
(extending MudComm).. should I do this?
-
init(String, Object)
-
This function is called immediately after the object is dynamically
loaded and created.
-
mudDescription()
-
init
public abstract void init(String MudObjNum,
Object args)
- This function is called immediately after the object is dynamically
loaded and created.
- Parameters:
- MudObjNum - The unique id number of this object in the mud
- args - Usually these are stuff the mud wants the MudObject to know, but might be other stuff. This will probably be a list or a vector (depends on the mud)
mudDescription
public abstract String mudDescription()
- Returns:
- A string which can be used to refernce this object in the mud
All Packages Class Hierarchy This Package Previous Next Index