Uses of Class
org.vrspace.server.obj.VRObject
-
Uses of VRObject in org.vrspace.server.core
Modifier and TypeMethodDescription<T extends VRObject>
T<T extends VRObject>
TWorldManager.save
(T obj) Modifier and TypeMethodDescriptionAdd an object to client's current positionRetrieve an object in the scene FIXME used only in tests?Get a cached VRObjectScene.getClosest
(double x, double y, double z) Returns the closest Transform to the specified pointModifier and TypeMethodDescriptionAdd objects to client's current positionScene.get
(double x, double y, double z, double range) Returns transforms within the range Does not return permanent objects TODO: check bounding boxesVRObjectRepository.getAllInWorld
(Long worldId) VRObjectRepository.getPermanents
(Long worldId) WorldManager.getPermanents
(Client client) VRObjectRepository.getRange
(Long worldId, double x1, double y1, double z1, double x2, double y2, double z2) Modifier and TypeMethodDescriptionAdd an object to client's current positiondefault void
void
default void
VRObjectRepository.deleteMembers
(Class<?> cls, VRObject obj) boolean
protected boolean
Test Transform against set of filters.void
Offer an object to the scene.void
Publish an object - notify all clients in rangevoid
void
Unpublish an object: WorldManager deletes all temporary owned objects when guest client exits, but they also need to be removed from all scenes.void
Modifier and TypeMethodDescriptionAdd objects to client's current positionvoid
Scene.offer
(Collection<VRObject> objects) Offer object(s) to the scene.void
Scene.publishAll
(Collection<VRObject> objects) Offer some object(s) to scenes of all listeners.void
Scene.unpublish
(Collection<VRObject> objects) Remove objects and notify all clients they are removed. -
Uses of VRObject in org.vrspace.server.dto
Modifier and TypeMethodDescriptionAdd.getObjects()
List of VRObjects to add.Welcome.getPermanents()
Modifier and TypeMethodDescriptionvoid
Add.setObjects
(List<VRObject> objects) List of VRObjects to add.void
Welcome.setPermanents
(@NonNull Set<VRObject> permanents) -
Uses of VRObject in org.vrspace.server.obj
Modifier and TypeClassDescriptionclass
A proprietary bot.class
Properties of world background, e.g.class
A Bot is a Client that has no session.class
BotLibre integration point.class
Basic client class, adds user-related properties and business logic to VRObject.class
Records all events in the world, saves them to the database, plays them back.class
A game in a world.class
class
Shared dynamic terrain, work in progress.class
class
Modifier and TypeMethodDescriptionVRObject.active()
Ownership.getOwned()
PersistentEvent.getSource()
VRObject.passive()
Modifier and TypeMethodDescriptionPersistentEvent.getAdd()
VRObject.getChildren()
VRObject.getListeners()
Modifier and TypeMethodDescriptionvoid
VRObject.addChildren
(VRObject... vrObjects) void
EventRecorder.addListener
(VRObject obj) void
VRObject.addListener
(VRObject obj) void
VRObject.removeListener
(VRObject obj) void
void
Modifier and TypeMethodDescriptionvoid
Bot.objectsAdded
(List<VRObject> objects) New objects in the scene, typically a client that has arrived.void
void
VRObject.setChildren
(List<VRObject> children) void
VRObject.setListeners
(ConcurrentHashMap<ID, VRObject> listeners)