BEEP-8 Helper Lib 1.0.0
|
Represents the cursor state for sprite-based text rendering. More...
#include <pico8.h>
Public Member Functions | |
void | Reset () |
Resets the cursor state to its default values. | |
Public Attributes | |
int | x |
The x-coordinate in pixels (column position). | |
int | y |
The y-coordinate in pixels (row position). | |
Color | color |
The drawing color for text (default: CURRENT). | |
int | z |
The depth (Z-value) for rendering order (default: 0). | |
Represents the cursor state for sprite-based text rendering.
This structure stores the current cursor position, color, and depth (Z-value) for rendering text on the screen using sprites. It allows pixel-level control over the rendering position and supports fine-grained color and depth management.
|
inline |
Resets the cursor state to its default values.
Sets the position to (0, 0), color to CURRENT
, and depth to 0.