#ifndef PLAYER_H #define PLAYER_H #include #include "Card.h" class Player { private: std::vector hand; int chips; // 其他成员变量... public: void addCardToHand(const Card& card); void removeCardFromHand(const Card& card); void updateChips(int amount); const std::vector& getHand() const; int getChips() const; }; #endif