Table of Contents

Class GamePlacementInitiator

Namespace
Root
Assembly
Game.Interaction.dll
public class GamePlacementInitiator : IPlacementInitiator
Inheritance
object
GamePlacementInitiator
Implements
Derived
Extension Methods

Constructors

GamePlacementInitiator(IRuleProcessor, IEntityPlacer, IEntityPlacementRunner)

public GamePlacementInitiator(IRuleProcessor placementAvailableRuleProcessor, IEntityPlacer placer, IEntityPlacementRunner placementRunner)

Parameters

placementAvailableRuleProcessor IRuleProcessor
placer IEntityPlacer
placementRunner IEntityPlacementRunner

Properties

IsPlacementAvailable

public bool IsPlacementAvailable { get; }

Property Value

bool

IsPlacing

public bool IsPlacing { get; }

Property Value

bool

OnPlacementBecomesAvailable

public IEvent OnPlacementBecomesAvailable { get; }

Property Value

IEvent

OnPlacementBecomesUnavailable

public IEvent OnPlacementBecomesUnavailable { get; }

Property Value

IEvent

OnPlacementEnds

public IEvent OnPlacementEnds { get; }

Property Value

IEvent

OnPlacementStarts

public IEvent OnPlacementStarts { get; }

Property Value

IEvent

Methods

CanStartPlacement()

public bool CanStartPlacement()

Returns

bool

Dispose()

public virtual void Dispose()

RequestEndPlacement()

public void RequestEndPlacement()

RequestStartPlacement()

public void RequestStartPlacement()

RequestStartPlacement(bool, GridRotation)

public void RequestStartPlacement(bool startFlipped, GridRotation preferredRotation)

Parameters

startFlipped bool
preferredRotation GridRotation