CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
Slot Struct Reference

Defines a rectangular text slot within a rendered card grid. More...

#include <cardRenderer.h>

Collaboration diagram for Slot:

Public Attributes

int rowIndex
 
int columnIndex
 
int maxWidth
 
SlotAlignment alignment
 

Detailed Description

Defines a rectangular text slot within a rendered card grid.

A Slot identifies a row/column position and a fixed width. Text written to the slot is pre-formatted to maxWidth characters using the specified alignment.

Member Data Documentation

◆ alignment

SlotAlignment Slot::alignment

◆ columnIndex

int Slot::columnIndex

◆ maxWidth

int Slot::maxWidth

◆ rowIndex

int Slot::rowIndex

The documentation for this struct was generated from the following file: