universe.base
Class Server.WorldShell
java.lang.Object
universe.base.Server.WorldShell
- All Implemented Interfaces:
- java.io.Serializable, IWorld
- Direct Known Subclasses:
- Server.WorldImp
- Enclosing class:
- Server<Msg extends java.io.Serializable>
public static class Server.WorldShell
- extends java.lang.Object
- implements IWorld
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(IWorld w)
Is this IWorld the same as the given IWorld? |
boolean |
equals(java.lang.Object o)
|
long |
id()
Get this worlds unique ID |
java.lang.String |
name()
Get the registered name of this World (not necessarily unique) |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Server.WorldShell
public Server.WorldShell(java.lang.String n,
long id)
name
public java.lang.String name()
- Description copied from interface:
IWorld
- Get the registered name of this World (not necessarily unique)
- Specified by:
name
in interface IWorld
id
public long id()
- Description copied from interface:
IWorld
- Get this worlds unique ID
- Specified by:
id
in interface IWorld
equals
public boolean equals(IWorld w)
- Description copied from interface:
IWorld
- Is this IWorld the same as the given IWorld?
- Specified by:
equals
in interface IWorld
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object