Pos
#include <Geometry.hpp>Represents a position in 2D space.
Coordinates are in terminal cells, with origin (0, 0) at top-left.
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
int | x | X coordinate (column), 0-based. |
int | y | Y coordinate (row), 0-based. |
int x = 0X coordinate (column), 0-based.
int y = 0Y coordinate (row), 0-based.