FogOfWar
namespace Griff.Modules.Strategy;
public sealed class FogOfWar : ComponentHides what the Commander’s team can’t see. Where its units and buildings have never been is black; where they’ve been but can’t see now is dimmed, with enemy units in it hidden. Goes on the camera with the Commander.
This is a component: its saved properties are on its component page.
Properties
Section titled “Properties”CellSize
Section titled “CellSize”public float CellSize { get; set; }The size of a square of fog, in world units. Smaller is smoother but slower.
Explored
Section titled “Explored”public Color Explored { get; set; }The color laid over ground seen before but not now.
Unexplored
Section titled “Unexplored”public Color Unexplored { get; set; }The color of ground never seen.