Skip to main content

WallAlignedDisplay.Point

A private class in Root.Township, Alta.Caves.Displays. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One cell offset inside WallAlignedDisplay's check radius, with a weight that falls off with distance. Built once in Initialize.

Constructors​

MemberWhat it is
Point(int x, int y, Vector2 direction, float value)Creates a WallAlignedDisplay.Point from x, y, direction and value.

Properties​

MemberWhat it is
Vector2 Direction { get; private set; }The offset as a vector, used to sum up which way the nearby wall lies.
float Value { get; private set; }Weight of the cell: distance left to the check radius, divided by the threshold.
int X { get; private set; }X offset from the centre cell.
int Y { get; private set; }Second grid offset from the centre cell (Z in map terms).

Used in​

Members of other types that take, return or hold a Point: