Table of Contents

Class PathNodesUpgradeProcessor<TPlacement, TDescriptor, TGlobalPivot, TGlobalTransform, TCoordinate, TVector, TDirection, TLocalPivot, TEntityModel, TConnector, TConnection, TInput, TOutput>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class PathNodesUpgradeProcessor<TPlacement, TDescriptor, TGlobalPivot, TGlobalTransform, TCoordinate, TVector, TDirection, TLocalPivot, TEntityModel, TConnector, TConnection, TInput, TOutput> : IPlacementProcessor, IPathUpgradeProcessor where TPlacement : IEntityPlacement<TDescriptor> where TDescriptor : IEntityDescriptor<TGlobalTransform> where TGlobalPivot : struct, IPivot<TCoordinate, TDirection, TGlobalPivot>, IConvertibleToLocalPivot<TGlobalTransform, TLocalPivot> where TGlobalTransform : unmanaged, ITransform<TCoordinate, TGlobalTransform> where TCoordinate : unmanaged, IDiscreteCoordinate<TCoordinate, TVector, TDirection> where TVector : IDirectionComposableVector<TVector, TDirection>, IConvertibleToGlobalPosition<TGlobalTransform, TCoordinate> where TDirection : unmanaged, IDirection<TDirection> where TLocalPivot : struct, IPivot<TVector, TDirection, TLocalPivot>, IConvertibleToGlobalPivot<TGlobalTransform, TGlobalPivot> where TEntityModel : IEntityLayoutModel<TDescriptor, TCoordinate, TGlobalPivot, TGlobalTransform, TConnector, TConnection> where TConnector : IEntityConnectorModel<TGlobalPivot> where TConnection : IEntityConnectionModel<TGlobalPivot> where TInput : IEntityConnector where TOutput : IEntityConnector

Type Parameters

TPlacement
TDescriptor
TGlobalPivot
TGlobalTransform
TCoordinate
TVector
TDirection
TLocalPivot
TEntityModel
TConnector
TConnection
TInput
TOutput
Inheritance
object
PathNodesUpgradeProcessor<TPlacement, TDescriptor, TGlobalPivot, TGlobalTransform, TCoordinate, TVector, TDirection, TLocalPivot, TEntityModel, TConnector, TConnection, TInput, TOutput>
Implements
Extension Methods

Constructors

PathNodesUpgradeProcessor(IMatchingDefinitionFinder<TDescriptor, TGlobalPivot>, IEntityPlacementAdapter<TPlacement, TDescriptor, TGlobalTransform, TCoordinate>, IEntityAccessorAdapter<TDescriptor, TCoordinate, TGlobalPivot, TGlobalTransform, TEntityModel, TConnector, TConnection>)

public PathNodesUpgradeProcessor(IMatchingDefinitionFinder<TDescriptor, TGlobalPivot> matchingDefinitionFinder, IEntityPlacementAdapter<TPlacement, TDescriptor, TGlobalTransform, TCoordinate> placementDefinitionSolver, IEntityAccessorAdapter<TDescriptor, TCoordinate, TGlobalPivot, TGlobalTransform, TEntityModel, TConnector, TConnection> entityMapAccessorAdapter)

Parameters

matchingDefinitionFinder IMatchingDefinitionFinder<TDescriptor, TGlobalPivot>
placementDefinitionSolver IEntityPlacementAdapter<TPlacement, TDescriptor, TGlobalTransform, TCoordinate>
entityMapAccessorAdapter IEntityAccessorAdapter<TDescriptor, TCoordinate, TGlobalPivot, TGlobalTransform, TEntityModel, TConnector, TConnection>

Methods

Process(IPlacementData, PlacementInputHolder, IMapModel, IReadOnlyMapLayoutModel, IPlacementErrors)

public void Process(IPlacementData placementData, PlacementInputHolder placementInput, IMapModel realMap, IReadOnlyMapLayoutModel virtualMap, IPlacementErrors placementErrors)

Parameters

placementData IPlacementData
placementInput PlacementInputHolder
realMap IMapModel
virtualMap IReadOnlyMapLayoutModel
placementErrors IPlacementErrors