Package org.vrspace.server.obj
Class ServerWorld
- java.lang.Object
-
- org.vrspace.server.obj.Entity
-
- org.vrspace.server.obj.World
-
- org.vrspace.server.obj.ServerWorld
-
@Node public class ServerWorld extends World
World in which all servers reside. Once a RemoteServer enters here, its properties are set to defaults defined in application.properties, i.e portalMesh and portalScript of this object. Properties of other clients (users) are not changed.- Author:
- joe
-
-
Constructor Summary
Constructors Constructor Description ServerWorld()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenter(Client client, WorldManager wm)Called when client enters the world.voidexit(Client client, WorldManager wm)Called after client exits the world
-
-
-
Method Detail
-
enter
public boolean enter(Client client, WorldManager wm)
Description copied from class:WorldCalled when client enters the world. It may change some client properties, allow entrance or not, etc.
-
exit
public void exit(Client client, WorldManager wm)
Description copied from class:WorldCalled after client exits the world
-
-