refactor(runtime): close simulation ownership
Move remote-motion construction, CreateObject vector initialization, final simulation-component retirement, and the combined J5 ownership ledger into Runtime. Delete App compatibility views and moved-state reconstruction while preserving the existing graphical projection and retail update order.
This commit is contained in:
parent
c30a3efeb0
commit
cdee7a4b49
57 changed files with 1013 additions and 410 deletions
|
|
@ -19,12 +19,12 @@ public sealed class RemoteTeleportControllerTests
|
|||
public void Unregister(WorldEntity entity) { }
|
||||
}
|
||||
|
||||
private sealed class BodyOnlyRemote(PhysicsBody body) : ILiveEntityRemoteMotionRuntime
|
||||
private sealed class BodyOnlyRemote(PhysicsBody body) : IRuntimeRemoteMotion
|
||||
{
|
||||
public PhysicsBody Body { get; } = body;
|
||||
}
|
||||
|
||||
private sealed class MutablePlacementRemote(PhysicsBody body) : ILiveEntityRemotePlacementRuntime
|
||||
private sealed class MutablePlacementRemote(PhysicsBody body) : IRuntimeRemotePlacement
|
||||
{
|
||||
private uint _cellId;
|
||||
private Func<uint>? _readCell;
|
||||
|
|
@ -56,7 +56,7 @@ public sealed class RemoteTeleportControllerTests
|
|||
|
||||
private sealed class AlternatingBodyRemote(
|
||||
PhysicsBody first,
|
||||
PhysicsBody later) : ILiveEntityRemotePlacementRuntime
|
||||
PhysicsBody later) : IRuntimeRemotePlacement
|
||||
{
|
||||
private int _reads;
|
||||
public PhysicsBody Body => _reads++ == 0 ? first : later;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue