Table of Contents

Struct RegularBuildingReplacementBehavior<TDescriptor, TCoordinate, TGlobalTransform, TDirection, TLocalPivot, TVector, TGlobalPivot>

Namespace
Root
Assembly
SPZGameAssembly.dll
public struct RegularBuildingReplacementBehavior<TDescriptor, TCoordinate, TGlobalTransform, TDirection, TLocalPivot, TVector, TGlobalPivot> : IReplacementImpactCalculator<TDescriptor, TCoordinate> where TDescriptor : IEntityDescriptor<TGlobalTransform> where TGlobalTransform : struct, ITransform<TCoordinate, TGlobalTransform> where TLocalPivot : IConvertibleToGlobalPivot<TGlobalTransform, TGlobalPivot>, IPivot<TVector, TDirection, TLocalPivot> where TGlobalPivot : IConvertibleToLocalPivot<TGlobalTransform, TLocalPivot>

Type Parameters

TDescriptor
TCoordinate
TGlobalTransform
TDirection
TLocalPivot
TVector
TGlobalPivot
Implements
IReplacementImpactCalculator<TDescriptor, TCoordinate>
Extension Methods

Methods

CalculateReplacementImpact(IMapModel, TDescriptor, TDescriptor)

public ReplacementImpactLevel CalculateReplacementImpact(IMapModel map, TDescriptor replacement, TDescriptor existing)

Parameters

map IMapModel
replacement TDescriptor
existing TDescriptor

Returns

ReplacementImpactLevel