Table of Contents

Class NotchSnapRotateFoundationLogicHandler

Namespace
Root
Assembly
SPZGameAssembly.dll
public class NotchSnapRotateFoundationLogicHandler : NotchSnapRotatePlacementTracker.ILogicHandler
Inheritance
object
NotchSnapRotateFoundationLogicHandler
Implements
Extension Methods

Constructors

NotchSnapRotateFoundationLogicHandler(IBuildingDefinition, IBuildingDefinition, bool)

public NotchSnapRotateFoundationLogicHandler(IBuildingDefinition portSender, IBuildingDefinition portReceiver, bool isReverse)

Parameters

portSender IBuildingDefinition
portReceiver IBuildingDefinition
isReverse bool

Methods

TryGetNotchDirection(IIslandLayoutModelAccessor, GlobalTileCoordinate, out TileDirection)

public bool TryGetNotchDirection(IIslandLayoutModelAccessor map, GlobalTileCoordinate samplePosition, out TileDirection direction)

Parameters

map IIslandLayoutModelAccessor
samplePosition GlobalTileCoordinate
direction TileDirection

Returns

bool