mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
* [Refactor] Move game logic into libcockatrice_game * [Refactor] Include card_state.h in player_actions.h * [Game] Inject settings providers into libcockatrice_game, drop Widgets * [Game] Follow base rename to createCardRequested after rebase * [Game] Drop unused CardItem forward declaration * [Game] Fix includes after moving game logic into libcockatrice_game --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
22 lines
431 B
C
22 lines
431 B
C
/**
|
|
* @file card_move_request.h
|
|
* @ingroup GameLogicActions
|
|
*/
|
|
//! \todo Document this file.
|
|
|
|
#ifndef COCKATRICE_CARD_MOVE_REQUEST_H
|
|
#define COCKATRICE_CARD_MOVE_REQUEST_H
|
|
|
|
#include <QString>
|
|
|
|
/**
|
|
* @brief Describes one card a view wants moved, in logic terms rather than wire terms.
|
|
*/
|
|
struct CardMoveRequest
|
|
{
|
|
int cardId = -1;
|
|
bool faceDown = false;
|
|
QString pt = {};
|
|
};
|
|
|
|
#endif // COCKATRICE_CARD_MOVE_REQUEST_H
|