class

CryTUI::Widgets::RingGrid

Inherits Reference < Object

The dot grid a ring arc is drawn into. offset shifts every row so a shape that starts above the origin still lands inside the array; writes that fall outside are dropped rather than wrapped.

Constructors

new(cells : Array(Array(Bool)), offset : Int32)
Source

Instance methods

cells
Source
fill(start : RingCoord, finish : RingCoord) : Nil

Lights an L-shaped path: all the way along the row, then along the column. Used once at build time to seed the spoke the arc unwinds from.

Source
offset
Source
set(row : Int32, col : Int32, value : Bool) : Nil
Source