mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:13:04 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
27
sdk/lib/3rdparty/cardlib/cardcount.h
vendored
Normal file
27
sdk/lib/3rdparty/cardlib/cardcount.h
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
#ifndef _CARDCOUNT_INCLUDED
|
||||
#define _CARDCOUNT_INCLUDED
|
||||
|
||||
class CardCount
|
||||
{
|
||||
public:
|
||||
CardCount();
|
||||
CardCount(const CardStack &cs);
|
||||
|
||||
void Init(const CardStack &cs);
|
||||
void Clear();
|
||||
void Add(const CardStack &cs);
|
||||
void Sub(const CardStack &cs);
|
||||
|
||||
void Dec(size_t index);
|
||||
|
||||
int operator[] (size_t index) const;
|
||||
|
||||
CardCount &operator = (const CardStack &cs);
|
||||
CardCount &operator += (const CardStack &cs);
|
||||
|
||||
private:
|
||||
int count[13]; //13 different card values
|
||||
//(ace,2,3,4,5,6,7,8,9,10,J,Q,K)
|
||||
};
|
||||
|
||||
#endif /* _CARDCOUNT_INCLUDED */
|
Loading…
Add table
Add a link
Reference in a new issue