/// <inheritdoc />
        protected override void HandleMovement(NetworkEntityGuid entityGuid, PathBasedMovementData data)
        {
            MovementDataMap[entityGuid]   = data;
            MovementGenerator[entityGuid] = new PathMovementGenerator(data);

            //TODO: We may not be on the main thread, so we might not be able to do this.
            MovementGenerator[entityGuid].Update(GameObjectMap[entityGuid], TimeService.CurrentRemoteTime);
        }
Exemplo n.º 2
0
 /// <inheritdoc />
 protected override void HandleMovement(NetworkEntityGuid entityGuid, PathBasedMovementData data)
 {
     MovementDataMap[entityGuid]   = data;
     MovementGenerator[entityGuid] = new PathMovementGenerator(data);
 }