C# Class SadRogue.Integration.FieldOfView.Memory.DimmingMemoryFieldOfViewHandler

Handler implementing MemoryFieldOfViewHandlerBase by dimming the foreground and background colors of terrain when it is out of FOV and the view is reliant on the player's memory.
Inheritance: SadRogue.Integration.FieldOfView.Memory.MemoryFieldOfViewHandlerBase
Mostrar archivo Open project: thesadrogue/TheSadRogue.Integration

Public Properties

Property Type Description
DimmingFactor float

Public Methods

Method Description
DimmingMemoryFieldOfViewHandler ( float dimmingFactor, State startingState = State.Enabled ) : JetBrains.Annotations

Creates a new handler with the given dimming factor.

Protected Methods

Method Description
ApplyMemoryAppearance ( SadRogue.Integration.FieldOfView.Memory.MemoryAwareRogueLikeCell terrain ) : void

Method Details

ApplyMemoryAppearance() protected method

protected ApplyMemoryAppearance ( SadRogue.Integration.FieldOfView.Memory.MemoryAwareRogueLikeCell terrain ) : void
terrain SadRogue.Integration.FieldOfView.Memory.MemoryAwareRogueLikeCell
return void

DimmingMemoryFieldOfViewHandler() public method

Creates a new handler with the given dimming factor.
public DimmingMemoryFieldOfViewHandler ( float dimmingFactor, State startingState = State.Enabled ) : JetBrains.Annotations
dimmingFactor float A factor to multiply terrain's colors by to dim them.
startingState State The starting value for .
return JetBrains.Annotations

Property Details

DimmingFactor public_oe property

A factor to multiply terrain's colors by to dim them.
public float DimmingFactor
return float