1#ifndef COCKATRICE_PLAYMAT_PARAMS_H
2#define COCKATRICE_PLAYMAT_PARAMS_H
32 return !(*
this == other);
A resolved playmat (card + positioning parameters).
Definition playmat_params.h:42
PlaymatParams params
Positioning parameters for the playmat card image.
Definition playmat_params.h:44
CardRef card
The card whose art is used as playmat.
Definition playmat_params.h:43
bool operator==(const PlaymatInfo &other) const
Definition playmat_params.h:46
Positioning parameters for a playmat card image.
Definition playmat_params.h:18
double marginPctL
Left margin as fraction of card width (0.0–0.95).
Definition playmat_params.h:19
double marginPctR
Right margin as fraction of card width (0.0–0.95).
Definition playmat_params.h:20
bool operator==(const PlaymatParams &other) const
Definition playmat_params.h:24
double verticalOffset
Vertical position within card (0.0=top, 1.0=bottom).
Definition playmat_params.h:21
bool operator!=(const PlaymatParams &other) const
Definition playmat_params.h:30
double zoom
Scale factor (0.1–4.0).
Definition playmat_params.h:22