Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencardcount.hGo to the documentation of this file.00001 #ifndef _CARDCOUNT_INCLUDED 00002 #define _CARDCOUNT_INCLUDED 00003 00004 #include <windows.h> 00005 00006 #include "cardstack.h" 00007 00008 class CardCount 00009 { 00010 public: 00011 CardCount(); 00012 CardCount(const CardStack &cs); 00013 00014 void Init(const CardStack &cs); 00015 void Clear(); 00016 void Add(const CardStack &cs); 00017 void Sub(const CardStack &cs); 00018 00019 void Dec(size_t index); 00020 00021 int operator[] (size_t index) const; 00022 00023 CardCount &operator = (const CardStack &cs); 00024 CardCount &operator += (const CardStack &cs); 00025 00026 private: 00027 int count[13]; //13 different card values 00028 //(ace,2,3,4,5,6,7,8,9,10,J,Q,K) 00029 }; 00030 00031 #endif Generated on Thu Feb 9 04:59:25 2012 for ReactOS by
1.6.3
|