set cardRef in CardItem

This commit is contained in:
RickyRister 2025-07-15 02:04:16 -07:00
parent 2f5b4d46bf
commit e2a6fc581b
9 changed files with 25 additions and 37 deletions

View file

@ -149,9 +149,9 @@ public:
coord_x = x;
coord_y = y;
}
void setName(const QString &_name)
void setCardRef(const CardRef &_cardRef)
{
cardRef.name = _name;
cardRef = _cardRef;
}
void setCounter(int _id, int value, Event_SetCardCounter *event = nullptr);
void setTapped(bool _tapped)