ServerUser
IMudUser
, Interactive
public interface ServerObject
Modifier and Type | Method | Description |
---|---|---|
void |
destruct() |
This method should make it such that getDestructed()
returns true and the object is no longer valid for
the system.
|
boolean |
getDestructed() |
Signifies that thsi object has been marked for destruction
and that all references to this object should be nulled
out as soon as they notice.
|
java.lang.String |
getObjectId() |
This method is used to find the unique object id for this
object.
|
void |
processEvent() |
Triggered every server cycle by the server to see if this
object has an event to process.
|
void |
setObjectId(java.lang.String id) |
This method should be used to set the object's unique
object id which the object should be keeping track of.
|
void destruct()
getDestructed()
void processEvent()
boolean getDestructed()
java.lang.String getObjectId()
setObjectId(java.lang.String)
void setObjectId(java.lang.String id)
id
- the unique value to which the id is being setgetObjectId()