Class MudlibWorldProjection
java.lang.Object
io.github.protasm.jvmud.engine.world.MudlibWorldProjection
Identity adapter between opaque mudlib objects and JVMud-native world locations.
The adapter contains no second containment graph. It only records projection identity;
location and contents queries are always answered by the associated WorldRuntime.
-
Constructor Summary
ConstructorsConstructorDescriptionMudlibWorldProjection(WorldRuntime worldRuntime) Creates an identity adapter backed by the supplied authoritative world runtime. -
Method Summary
Modifier and TypeMethodDescriptionvoidbindEntity(Object object, Entity entity) Binds a mudlib object to an existing native entity.voidBinds a mudlib object to an existing native place.environment(Object object) Returns the opaque object that immediately contains the supplied object.Returns the opaque objects immediately contained by the supplied object.voidMoves an opaque mudlib object using the native containment graph.voidRemoves an opaque entity projection from the native world.Returns the authoritative world runtime used by this adapter.
-
Constructor Details
-
MudlibWorldProjection
Creates an identity adapter backed by the supplied authoritative world runtime.
-
-
Method Details
-
worldRuntime
Returns the authoritative world runtime used by this adapter. -
bindPlace
-
bindEntity
-
move
-
environment
-
inventory
-
remove
Removes an opaque entity projection from the native world.
-