/// <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);
        }
Пример #2
0
 /// <inheritdoc />
 protected override void HandleMovement(NetworkEntityGuid entityGuid, PathBasedMovementData data)
 {
     MovementDataMap[entityGuid]   = data;
     MovementGenerator[entityGuid] = new PathMovementGenerator(data);
 }