Class GamePlacementInitiator
- Namespace
- Root
- Assembly
- Game.Interaction.dll
public class GamePlacementInitiator : IPlacementInitiator
- Inheritance
-
objectGamePlacementInitiator
- Implements
- Derived
- Extension Methods
Constructors
GamePlacementInitiator(IRuleProcessor, IEntityPlacer, IEntityPlacementRunner)
public GamePlacementInitiator(IRuleProcessor placementAvailableRuleProcessor, IEntityPlacer placer, IEntityPlacementRunner placementRunner)
Parameters
placementAvailableRuleProcessorIRuleProcessorplacerIEntityPlacerplacementRunnerIEntityPlacementRunner
Properties
IsPlacementAvailable
public bool IsPlacementAvailable { get; }
Property Value
- bool
IsPlacing
public bool IsPlacing { get; }
Property Value
- bool
OnPlacementBecomesAvailable
public IEvent OnPlacementBecomesAvailable { get; }
Property Value
OnPlacementBecomesUnavailable
public IEvent OnPlacementBecomesUnavailable { get; }
Property Value
OnPlacementEnds
public IEvent OnPlacementEnds { get; }
Property Value
OnPlacementStarts
public IEvent OnPlacementStarts { get; }
Property Value
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
startFlippedboolpreferredRotationGridRotation