Table of Contents

Class FogOfWarDefaults

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

Defaults for the fog grid, in one place so the store, the map and the definition's override all agree.

public static class FogOfWarDefaults
Inheritance
FogOfWarDefaults
Inherited Members

Fields

CellSize

Size of one reveal cell in world metres.

public const float CellSize = 4

Field Value

float

Remarks

Four metres: roughly a character's stride at a walk, and small enough that the reveal's radial falloff has several cells to work across. A two-kilometre scene is then a 500 by 500 grid — a quarter of a megabyte in memory and a few kilobytes on disk once compressed, which is small enough not to think about and large enough that halving it again would be a real cost for a difference no player would see.